From: Alan Date: Mon, 28 May 2018 16:06:58 +0000 (+0100) Subject: tcl: tidy Makefile move to Makefile.z80 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=4f572702de1e53a3ec68bbb6a1774ce0eea490ea;p=FUZIX.git tcl: tidy Makefile move to Makefile.z80 --- 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