summaryrefslogtreecommitdiffstats
path: root/sw-z80/hello/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sw-z80/hello/makefile')
-rw-r--r--sw-z80/hello/makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/sw-z80/hello/makefile b/sw-z80/hello/makefile
new file mode 100644
index 0000000..80e3459
--- /dev/null
+++ b/sw-z80/hello/makefile
@@ -0,0 +1,11 @@
+.PHONY: all disassemble clean
+all: hello.bin
+
+disassemble: hello.bin
+ z80dasm $<
+
+clean:
+ rm -f hello.bin
+
+hello.bin: hello.s
+ z80asm -o $@ $<