Fix build
This commit is contained in:
parent
ae27fffbbc
commit
c4ad69d367
18
Makefile
18
Makefile
|
@ -1,16 +1,6 @@
|
|||
# Compiles with https://www.brutaldeluxe.fr/products/crossdevtools/merlin/
|
||||
# a.k.a. https://github.com/apple2accumulator/merlin32
|
||||
#
|
||||
ifeq ($(OS),Windows_NT)
|
||||
MERLIN_DIR=C:/opt/Merlin32_v1.0
|
||||
MERLIN_LIB=$(MERLIN_DIR)/Library
|
||||
MERLIN=$(MERLIN_DIR)/Windows/Merlin32
|
||||
RM=del /s
|
||||
else
|
||||
MERLIN_DIR=$(HOME)/opt/Merlin32_v1.0
|
||||
MERLIN_LIB=$(MERLIN_DIR)/Library
|
||||
MERLIN=$(MERLIN_DIR)/Linux64/Merlin32
|
||||
RM=rm -f
|
||||
endif
|
||||
|
||||
AC=java -jar AppleCommander-ac-1.4.0.jar
|
||||
SRC=delhndlr.s
|
||||
|
@ -19,16 +9,16 @@ VOL=$(PGM)
|
|||
DSK=$(PGM).dsk
|
||||
|
||||
$(DSK): $(PGM)
|
||||
#$(AC) -pro140 $(DSK) $(VOL)
|
||||
$(AC) -pro140 $(DSK) $(VOL)
|
||||
$(AC) -p $(DSK) $(PGM) BIN 0x0801 < $(PGM)
|
||||
|
||||
$(PGM): $(SRC)
|
||||
$(MERLIN) $(MERLIN_LIB) $(SRC)
|
||||
merlin32 $(SRC)
|
||||
@# 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:
|
||||
$(RM) $(PGM) error_output.txt _FileInformation.txt
|
||||
$(RM) $(PGM) $(DSK) error_output.txt _FileInformation.txt
|
||||
|
||||
|
|
Loading…
Reference in New Issue