summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-09-03 01:15:46 +0000
committerIan C <ianc@noddybox.co.uk>2006-09-03 01:15:46 +0000
commit81295d66b59af1ca7cbd91f63c897d6f60b015b6 (patch)
treecd74a6e04e86f21a4966d884a7cd0cb779189fad /Makefile
parent37141ac197eaefeae9dada0bcc1c429ff584df44 (diff)
Fixed bugs on BIT,RES and SET opcode macros. Fixed serious bug in POKE
macro. Changes to GEMMA.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 09d32ab..4ede2a0 100644
--- a/Makefile
+++ b/Makefile
@@ -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