From 71d7c02771511b9d9af0f1cd0f368867da84d864 Mon Sep 17 00:00:00 2001 From: Ian C <ianc@noddybox.co.uk> Date: Sun, 27 Aug 2006 23:55:35 +0000 Subject: Added locally build versions of the Z80 exercisers --- Makefile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a77cfcd..25f659c 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ # # ------------------------------------------------------------------------- # -# $Id: Makefile,v 1.5 2006-08-25 23:28:49 ianc Exp $ +# $Id: Makefile,v 1.6 2006-08-27 23:55:05 ianc Exp $ # # This CFLAGS assumes that gcc is being used. @@ -46,19 +46,22 @@ OBJECTS = z80.o \ expr.o \ emma.o -all: $(TARGET) emucpm.hex test.hex +all: $(TARGET) emucpm.hex zexdoc.hex zexall.hex $(TARGET): $(OBJECTS) cc -o $(TARGET) $(OBJECTS) -test.hex: test.z80 - tpasm -P Z80 -o intel test.hex test.z80 - emucpm.hex: emucpm.z80 tpasm -P Z80 -o intel emucpm.hex emucpm.z80 +zexdoc.hex: zexdoc.z80 + tpasm -P Z80 -o intel zexdoc.hex zexdoc.z80 + +zexall.hex: zexall.z80 + tpasm -P Z80 -o intel zexall.hex zexall.z80 + clean: - rm -f $(TARGET) $(OBJECTS) core $(TARGET).exe emucpm.hex test.hex + rm -f $(TARGET) $(OBJECTS) core $(TARGET).exe *.hex depend: makedepend -- $(CFLAGS) -- $(SOURCE) -- cgit v1.2.3