delhndlr/Makefile

26 lines
596 B
Makefile
Raw Normal View History

2018-08-04 07:02:16 +00:00
# Compiles with https://www.brutaldeluxe.fr/products/crossdevtools/merlin/
2021-09-24 03:47:16 +00:00
# a.k.a. https://github.com/apple2accumulator/merlin32
2018-08-04 07:02:16 +00:00
#
AC=java -jar AppleCommander-ac-1.4.0.jar
SRC=delhndlr.s
PGM=DELHNDLR
VOL=$(PGM)
DSK=$(PGM).dsk
$(DSK): $(PGM)
2021-09-24 04:40:18 +00:00
#$(AC) -pro140 $(DSK) $(VOL)
cp delhndlr.dsk $(DSK)
2018-08-07 03:59:43 +00:00
$(AC) -p $(DSK) $(PGM) BIN 0x0801 < $(PGM)
2018-08-04 07:02:16 +00:00
$(PGM): $(SRC)
2021-09-24 03:47:16 +00:00
merlin32 $(SRC)
2018-08-04 07:02:16 +00:00
@# Merlin fails to provide a non-0 exit code on failure so
@# it needs to be simulated by checking for the error_output.txt
@# file.
@test -e $(PGM)
clean:
2021-09-24 03:47:16 +00:00
$(RM) $(PGM) $(DSK) error_output.txt _FileInformation.txt
2018-08-04 07:02:16 +00:00