diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -18,7 +18,7 @@ # # ------------------------------------------------------------------------- # -# $Id: Makefile,v 1.13 2006-08-30 22:24:41 ianc Exp $ +# $Id: Makefile,v 1.14 2006-09-03 01:15:46 ianc Exp $ # # @@ -95,7 +95,7 @@ emma: $(BASE_O) $(EMMA_O) gemma: $(BASE_O) $(GEMMA_O) cc -o gemma $(BASE_O) $(GEMMA_O) `pkg-config --libs gtk+-2.0` -tests: emucpm.hex zexdoc.hex zexall.hex +tests: emucpm.hex zexdoc.hex zexall.hex test.hex emucpm.hex: emucpm.z80 tpasm -P Z80 -o intel emucpm.hex emucpm.z80 @@ -110,6 +110,12 @@ zexall.hex: zexall.z80 tail +4 _tmp | awk '{printf("%s 0x%s\n",$$2,$$1);}' > zexall.lbl rm -f _tmp +test.hex: test.z80 + tpasm -P Z80 -o intel test.hex test.z80 + +test.z80: + if [ ! -e test.z80 ] ; then touch test.z80 ; fi + clean: rm -f emma gemma $(BASE_O) $(EMMA_O) $(GEMMA_O) core *.hex *.lbl |