mminer-apple2/Makefile-dsk.mk
StewBC 7652ec5858 Initial Revision
Manic Miner for Apple II
2020-04-21 14:02:31 -07:00

22 lines
408 B
Makefile

DSK = $(NAME).dsk
# For this one, see https://applecommander.github.io/
AC ?= ac.jar
# Unix or Windows
ifeq ($(shell echo),)
CP = cp $1
else
CP = copy $(subst /,\,$1)
endif
REMOVES += $(DSK)
.PHONY: dsk
dsk: $(DSK)
$(DSK): $(NAME).apple2
$(call CP, apple2/template.dsk $@)
java -jar $(AC) -p $@ $(NAME).system sys < $(NAME).apple2.loader
java -jar $(AC) -as $@ $(NAME) bin < $(NAME).apple2