From 4f572702de1e53a3ec68bbb6a1774ce0eea490ea Mon Sep 17 00:00:00 2001 From: Alan Date: Mon, 28 May 2018 17:06:58 +0100 Subject: [PATCH] tcl: tidy Makefile move to Makefile.z80 --- Applications/TCL/{Makefile => Makefile.z80} | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) rename Applications/TCL/{Makefile => Makefile.z80} (65%) diff --git a/Applications/TCL/Makefile b/Applications/TCL/Makefile.z80 similarity index 65% rename from Applications/TCL/Makefile rename to Applications/TCL/Makefile.z80 index 4b2318f7..e30dcfd5 100644 --- a/Applications/TCL/Makefile +++ b/Applications/TCL/Makefile.z80 @@ -1,13 +1,6 @@ -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 @@ -24,10 +17,10 @@ all: $(APPS) sizes $(OBJS): %.rel: %.c .c.rel: - $(FCC) $(PLATFORM) $(FCCOPTS) -c $< + $(FCC) $(Z80_PLATFORM) $(FCCOPTS) -c $< %: %.rel - $(FCC) $(PLATFORM) $(OPTS) $< -o $@ + $(FCC) $(Z80_PLATFORM) $(OPTS) $< -o $@ sizes: $(APPS) ls -l $(APPS) >size.report -- 2.34.1