From 8092443b5ed2d33b076749387577f4e1466735fe Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 28 Aug 2006 00:19:04 +0000 Subject: Changes so that labels for zexdoc and zexall are loaded into EMMA --- Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 25f659c..e83b30d 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ # # ------------------------------------------------------------------------- # -# $Id: Makefile,v 1.6 2006-08-27 23:55:05 ianc Exp $ +# $Id: Makefile,v 1.7 2006-08-28 00:19:04 ianc Exp $ # # This CFLAGS assumes that gcc is being used. @@ -55,13 +55,17 @@ 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 + tpasm -P Z80 -o text _tmp -o intel zexdoc.hex zexdoc.z80 + tail +4 _tmp | awk '{printf("%s 0x%s\n",$$2,$$1);}' > zexdoc.lbl + rm -f _tmp zexall.hex: zexall.z80 - tpasm -P Z80 -o intel zexall.hex zexall.z80 + tpasm -P Z80 -o text _tmp -o intel zexall.hex zexall.z80 + tail +4 _tmp | awk '{printf("%s 0x%s\n",$$2,$$1);}' > zexall.lbl + rm -f _tmp clean: - rm -f $(TARGET) $(OBJECTS) core $(TARGET).exe *.hex + rm -f $(TARGET) $(OBJECTS) core $(TARGET).exe *.hex *.lbl depend: makedepend -- $(CFLAGS) -- $(SOURCE) -- cgit v1.2.3