diff options
Diffstat (limited to 'loader/kon2/src/display/Makefile')
-rw-r--r-- | loader/kon2/src/display/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/loader/kon2/src/display/Makefile b/loader/kon2/src/display/Makefile new file mode 100644 index 000000000..57ec7be20 --- /dev/null +++ b/loader/kon2/src/display/Makefile @@ -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 |