From a45ddab7a1e510977e81f22489813367f53fec6b Mon Sep 17 00:00:00 2001 From: Alan Date: Mon, 28 May 2018 17:07:22 +0100 Subject: [PATCH] dw: Move makefile to Makefile.z80 and tidy/prepare --- Applications/dw/Makefile | 56 ---------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 Applications/dw/Makefile diff --git a/Applications/dw/Makefile b/Applications/dw/Makefile deleted file mode 100644 index bbbf3d57..00000000 --- a/Applications/dw/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -CC = sdcc -ASM = sdasz80 -AR = sdar -LINKER = sdcc -FCC = ../../Library/tools/fcc -FCCOPTS = -O2 -PLATFORM = -#PLATFORM = -tzx128 - -PROGLOAD=`(cat ../../Kernel/platform/config.h; echo PROGLOAD) | cpp -E | tail -n1` - -.SUFFIXES: .c .rel - -SRCSNS = - -SRCS = dw.c dwgetty.c dwterm.c - -SRCSBAD = - -OBJS = $(SRCS:.c=.rel) -OBJSNS = $(SRCSNS:.c=.rel) -OBJSBAD = $(SRCSBAD:.c=.rel) - -LIBS = ../../Library/libs/syslib.lib - -APPSNS = $(OBJSNS:.rel=) - -APPS = $(OBJS:.rel=) $(OBJSBAD:.rel=) $(OBJSNS:.rel=) - -all: $(APPS) sizes - - -$(APPSNS): OPTS = --nostdio - -$(OBJS): %.rel: %.c - -$(OBJSNS): %.rel: %.c - -$(OBJSBAD): %.rel: %.c - $(FCC) $(PLATFORM) -c $< - -.c.rel: - $(FCC) $(PLATFORM) $(FCCOPTS) -c $< - -%: %.rel - $(FCC) $(PLATFORM) $(OPTS) $< -o $@ - -sizes: $(APPS) - ls -l $(APPS) >size.report - -clean: - rm -f $(OBJS) $(APPS) $(SRCS:.c=) core *~ *.asm *.lst *.sym *.map *.noi *.lk *.ihx *.tmp *.bin size.report - -rmbak: - rm -f *~ core - -- 2.34.1