summaryrefslogtreecommitdiffstats
path: root/loader/kon2/src/display/Makefile.linux
diff options
context:
space:
mode:
Diffstat (limited to 'loader/kon2/src/display/Makefile.linux')
-rw-r--r--loader/kon2/src/display/Makefile.linux34
1 files changed, 34 insertions, 0 deletions
diff --git a/loader/kon2/src/display/Makefile.linux b/loader/kon2/src/display/Makefile.linux
new file mode 100644
index 000000000..57ec7be20
--- /dev/null
+++ b/loader/kon2/src/display/Makefile.linux
@@ -0,0 +1,34 @@
+OBJS =
+DISP = ../display.a
+
+ifeq (../../.config,$(wildcard ../../.config))
+include ../../.config
+endif
+
+ifdef HAS_S3
+OBJS := $(OBJS) s3.o
+endif
+ifdef HAS_J31SX
+OBJS := $(OBJS) j31sx.o
+endif
+OBJS := $(OBJS) svga.o vga.o
+
+#CC := $(CC) -g
+#LD := $(CC) -g
+
+all: $(DISP)
+
+$(DISP): $(OBJS)
+ $(AR) rcs $(DISP) $(OBJS)
+
+depend .depend:
+ $(CC) $(CFLAGS) -M *.c > .depend
+
+clean:
+ $(RM) -f *.o $(DISP) *~ .depend
+
+install: all
+
+ifeq (.depend,$(wildcard .depend))
+include .depend
+endif