summaryrefslogtreecommitdiffstats
path: root/sw-z80/hello/makefile
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-11-01 01:23:45 +0100
committerNao Pross <naopross@thearcway.org>2018-11-01 01:23:45 +0100
commitc7d7b50451924b8eccacb7540f58608eaf3017cb (patch)
tree1a3fe45747064dc5537f028137e87b9f851672de /sw-z80/hello/makefile
parentAdd Z80 user manual (diff)
downloadz80uPC-naopross.tar.gz
z80uPC-naopross.zip
[z80] Add hello projectnaopross
Diffstat (limited to '')
-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 $@ $<