mirror of
https://github.com/StewBC/penetrator-apple2.git
synced 2025-01-14 02:32:35 +00:00
Update Makefile-dsk.mk
Add Unix compatability
This commit is contained in:
parent
867e81ebf3
commit
606b2e1f42
@ -3,12 +3,19 @@ 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
|
||||
copy apple2\template.dsk $@
|
||||
$(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
|
||||
|
Loading…
x
Reference in New Issue
Block a user