mirror of
https://github.com/StewBC/penetrator-apple2.git
synced 2024-12-27 21:31:01 +00:00
606b2e1f42
Add Unix compatability
22 lines
475 B
Makefile
22 lines
475 B
Makefile
DSK = Penetrator.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): penetrator-apple2.apple2.loader penetrator-apple2.apple2
|
|
$(call CP, apple2/template.dsk $@)
|
|
java -jar $(AC) -p $@ penetrat.system sys < penetrator-apple2.apple2.loader
|
|
java -jar $(AC) -as $@ penetrat bin < penetrator-apple2.apple2
|