diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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) |