mirror of
https://github.com/StewBC/mminer-apple2.git
synced 2024-12-28 00:29:41 +00:00
7652ec5858
Manic Miner for Apple II
22 lines
408 B
Makefile
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
|