tcl: tidy Makefile move to Makefile.z80
authorAlan <etchedpixels@gmail.com>
Mon, 28 May 2018 16:06:58 +0000 (17:06 +0100)
committerAlan <etchedpixels@gmail.com>
Mon, 28 May 2018 16:06:58 +0000 (17:06 +0100)
Applications/TCL/Makefile.z80 [moved from Applications/TCL/Makefile with 65% similarity]

similarity index 65%
rename from Applications/TCL/Makefile
rename to Applications/TCL/Makefile.z80
index 4b2318f..e30dcfd 100644 (file)
@@ -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