aboutsummaryrefslogtreecommitdiff
path: root/src/example/Makefile
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-04-06 23:37:07 +0100
committerIan C <ianc@noddybox.co.uk>2016-04-06 23:37:07 +0100
commitd99a9070450157dd8fc3e5d6ad5172af4cc0be59 (patch)
tree55d0b494d0ea1d1df8df08fe9f95495a5b7acc98 /src/example/Makefile
parentfdef5d70c1890c7970f31061184a73e699ccd9fb (diff)
Added ZX81 output driver
Diffstat (limited to 'src/example/Makefile')
-rw-r--r--src/example/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/example/Makefile b/src/example/Makefile
index e9ddfce..7c53209 100644
--- a/src/example/Makefile
+++ b/src/example/Makefile
@@ -20,18 +20,24 @@
# Makefile for examples
#
-ALL = spectrum.tap c64.t64 # zx81.p
+ALL = spectrum.tap c64.t64 zx81.p
CASM = ../casm
-all: $(ALL)
+all: $(ALL) $(CASM)
+
+$(CASM): ../*.[ch]
+ cd .. ; make
remake: clean all
-spectrum.tap: spectrum.asm
+spectrum.tap: spectrum.asm $(CASM)
$(CASM) spectrum.asm
-c64.t64: c64.asm
+c64.t64: c64.asm $(CASM)
$(CASM) c64.asm
+zx81.p: zx81.asm $(CASM)
+ $(CASM) zx81.asm
+
clean:
rm -f $(ALL)