aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..8212e19
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+reloc.atr: reloc.xex hello40.xex hello41.xex mkrelocxex.pl autorun.sys
+ cp dos_20s.atr reloc.atr
+ axe -w autorun.sys reloc.atr
+
+autorun.sys: reloc.xex hello40.xex hello41.xex
+ ./mkrelocxex.pl hello40.xex hello41.xex autorun.sys
+
+reloc.xex: reloc.s
+ cl65 -t none -o reloc.xex reloc.s
+
+hello40.xex: hello.s
+ cl65 -t none -o hello40.xex --asm-define start_addr=0x4000 hello.s
+
+hello41.xex: hello.s
+ cl65 -t none -o hello41.xex --asm-define start_addr=0x4102 hello.s
+
+clean:
+ rm -f reloc.atr hello40.xex hello41.xex reloc.xex *.o