mirror of
https://github.com/gungwald/online.git
synced 2024-10-31 12:04:37 +00:00
31 lines
619 B
Makefile
31 lines
619 B
Makefile
# 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
|
|
MERLIN_DIR=/opt/Merlin32_v1.0
|
|
MERLIN_LIB=$(MERLIN_DIR)/Library
|
|
MERLIN=$(MERLIN_DIR)/Windows/Merlin32
|
|
RM=rm -f
|
|
endif
|
|
|
|
AC=java -jar AppleCommander-1.3.5.14.jar
|
|
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)
|
|
|