mirror of
https://github.com/StewBC/cc65-Chess.git
synced 2024-06-02 20:41:30 +00:00
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
This commit is contained in:
parent
13a5c1e534
commit
948eeb0d90
14
Makefile-dsk.mk
Normal file
14
Makefile-dsk.mk
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user