2017-09-07 19:24:17 +00:00
|
|
|
# Compiles with https://www.brutaldeluxe.fr/products/crossdevtools/merlin/
|
|
|
|
#
|
|
|
|
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
|
2018-10-11 05:15:21 +00:00
|
|
|
MERLIN_DIR=$(HOME)/opt/Merlin32_v1.0
|
2017-09-07 19:24:17 +00:00
|
|
|
MERLIN_LIB=$(MERLIN_DIR)/Library
|
2018-10-11 05:15:21 +00:00
|
|
|
MERLIN=$(MERLIN_DIR)/Linux64/Merlin32
|
2017-09-07 19:24:17 +00:00
|
|
|
RM=rm -f
|
|
|
|
endif
|
|
|
|
|
2018-10-11 05:15:21 +00:00
|
|
|
AC=java -jar AppleCommander-*.jar
|
2017-09-07 19:24:17 +00:00
|
|
|
SRC=online.s
|
|
|
|
PGM=ONLINE
|
|
|
|
VOL=$(PGM)
|
|
|
|
DSK=$(PGM).dsk
|
|
|
|
|
|
|
|
$(DSK): $(PGM)
|
|
|
|
$(AC) -pro140 $(DSK) $(VOL)
|
|
|
|
$(AC) -p $(DSK) $(PGM) SYS < $(PGM)
|
|
|
|
|
|
|
|
$(PGM): $(SRC)
|
|
|
|
$(MERLIN) $(MERLIN_LIB) $(SRC)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) $(DSK) $(PGM)
|
|
|
|
|