2020-01-20 11:55:07 +00:00
|
|
|
DSK = Penetrator.dsk
|
|
|
|
|
|
|
|
# For this one, see https://applecommander.github.io/
|
|
|
|
AC ?= ac.jar
|
|
|
|
|
2020-01-21 06:33:11 +00:00
|
|
|
# Unix or Windows
|
|
|
|
ifeq ($(shell echo),)
|
|
|
|
CP = cp $1
|
|
|
|
else
|
|
|
|
CP = copy $(subst /,\,$1)
|
|
|
|
endif
|
|
|
|
|
2020-01-20 11:55:07 +00:00
|
|
|
REMOVES += $(DSK)
|
|
|
|
|
|
|
|
.PHONY: dsk
|
|
|
|
dsk: $(DSK)
|
|
|
|
|
|
|
|
$(DSK): penetrator-apple2.apple2.loader penetrator-apple2.apple2
|
2020-01-21 06:33:11 +00:00
|
|
|
$(call CP, apple2/template.dsk $@)
|
2020-01-20 11:55:07 +00:00
|
|
|
java -jar $(AC) -p $@ penetrat.system sys < penetrator-apple2.apple2.loader
|
|
|
|
java -jar $(AC) -as $@ penetrat bin < penetrator-apple2.apple2
|