]> git.sur5r.net Git - cc65/commitdiff
Added Makefile for recently added linker config test program.
authorOliver Schmidt <ol.sc@web.de>
Thu, 1 Feb 2018 20:50:54 +0000 (21:50 +0100)
committerOliver Schmidt <ol.sc@web.de>
Thu, 1 Feb 2018 20:50:54 +0000 (21:50 +0100)
testcode/lib/apple2/Makefile [new file with mode: 0644]

diff --git a/testcode/lib/apple2/Makefile b/testcode/lib/apple2/Makefile
new file mode 100644 (file)
index 0000000..87dadcb
--- /dev/null
@@ -0,0 +1,12 @@
+# For this one see https://applecommander.github.io/
+AC ?= ac.jar
+
+CL      = cl65
+CLFLAGS = -t apple2 -C apple2-hgr.cfg -Oirs
+
+hgrtest.dsk: hgrtest
+       cp prodos.dsk $@
+       java -jar $(AC) -cc65 $@ hgrtest bin <hgrtest
+
+hgrtest: hgrtest.c werner.s
+       $(CL) $(CLFLAGS) -m hgrtest.map $^