mirror of
https://github.com/equant/apple2idiot.git
synced 2024-06-13 08:29:38 +00:00
23 lines
505 B
Makefile
23 lines
505 B
Makefile
DSK = cc65-Chess.dsk
|
|
|
|
# For this one, see https://applecommander.github.io/
|
|
#AC ?= ac.jar
|
|
AC ?= ~/bin/AppleCommander.jar
|
|
|
|
# Unix or Windows
|
|
ifeq ($(shell echo),)
|
|
CP = cp $1
|
|
else
|
|
CP = copy $(subst /,\,$1)
|
|
endif
|
|
|
|
REMOVES += $(DSK)
|
|
|
|
.PHONY: dsk
|
|
dsk: $(DSK)
|
|
|
|
$(DSK): cc65-Chess.apple2
|
|
$(call CP, 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
|