cc65-Chess/Makefile-dsk.mk
Oliver Schmidt 948eeb0d90 Replaced cmd file with Makefile for creating disk image.
- Only works on Windows
- Requires the variable AC to be set either as env var, on the make cmdline or in the main Makefile
2020-01-20 13:01:34 +01:00

15 lines
353 B
Makefile

DSK = cc65-Chess.dsk
# For this one, see https://applecommander.github.io/
AC ?= ac.jar
REMOVES += $(DSK)
.PHONY: dsk
dsk: $(DSK)
$(DSK): cc65-Chess.apple2
copy apple2\template.dsk $@
java -jar $(AC) -p $@ chess.system sys < $(shell cl65 --print-target-path)\apple2\util\loader.system
java -jar $(AC) -as $@ chess bin < cc65-Chess.apple2