WeeGUI/Makefile
blondie7575 80f6662ede Moved WeeGUI to HGR2 in memory
Trying to co-exist with ProDOS, BASIC.SYSTEM and Applesoft at the top of memory was giving me too many gray hairs. WeeGUI apps shouldn’t need the HGR2 page, so we’re going to live there from now on.
2018-01-06 17:50:22 -08:00

44 lines
883 B
Makefile

#
# Makefile
# WeeGUI
#
# Created by Quinn Dunki on 8/15/14.
# One Girl, One Laptop Productions
# http://www.quinndunki.com
# http://www.quinndunki.com/blondihacks
#
CL65=cl65
AC=AppleCommander.jar
ADDR=4000
ADDRDEMO=6000
PGM=weegui
DEMO=asmdemo
all: $(DEMO) $(PGM)
$(DEMO):
@PATH=$(PATH):/usr/local/bin; $(CL65) -t apple2enh --start-addr $(ADDRDEMO) -l$(DEMO).lst $(DEMO).s
java -jar $(AC) -d $(PGM).dsk $(DEMO)
java -jar $(AC) -p $(PGM).dsk $(DEMO) BIN 0x$(ADDRDEMO) < $(DEMO)
rm -f $(DEMO)
rm -f $(DEMO).o
$(PGM):
@PATH=$(PATH):/usr/local/bin; $(CL65) -t apple2enh --start-addr $(ADDR) -l$(PGM).lst $(PGM).s
java -jar $(AC) -d $(PGM).dsk $(PGM)
java -jar $(AC) -p $(PGM).dsk $(PGM) BIN 0x$(ADDR) < $(PGM)
rm -f $(PGM)
rm -f $(PGM).o
osascript V2Make.scpt $(PROJECT_DIR) $(DEMO) $(PGM)
clean:
rm -f $(DEMO)
rm -f $(DEMO).o
rm -f $(PGM)
rm -f $(PGM).o