Added Makefile for creating disk image.

- Only works on Windows
- Requires the variable AC to be set either as env var, on the make cmdline or in the main Makefile
This commit is contained in:
Oliver Schmidt 2020-01-20 12:55:07 +01:00 committed by GitHub
parent e5964b755c
commit 65d8bb6fa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

14
Makefile-dsk.mk Normal file
View File

@ -0,0 +1,14 @@
DSK = Penetrator.dsk
# For this one, see https://applecommander.github.io/
AC ?= ac.jar
REMOVES += $(DSK)
.PHONY: dsk
dsk: $(DSK)
$(DSK): penetrator-apple2.apple2.loader penetrator-apple2.apple2
copy apple2\template.dsk $@
java -jar $(AC) -p $@ penetrat.system sys < penetrator-apple2.apple2.loader
java -jar $(AC) -as $@ penetrat bin < penetrator-apple2.apple2