mirror of
https://github.com/blondie7575/WeeGUI.git
synced 2024-12-13 00:29:12 +00:00
38da3a2c8e
- Eliminated WGInverse and WGNormal API calls - Added the basic dispatcher for ML API - Trimmed some unneeded code - Prototyped assembly language API file - Another pass on reducing code size - X register now reserved for dispatcher - API calls using X register as a parameter converted to Y register - Added WGSetGlobalCursor - Some code cleanup
44 lines
896 B
Makefile
44 lines
896 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=gui
|
|
DEMO=guidemo
|
|
|
|
all: $(DEMO) $(PGM)
|
|
#all: $(PGM)
|
|
|
|
$(DEMO):
|
|
@PATH=$(PATH):/usr/local/bin; $(CL65) -t apple2enh --start-addr $(ADDRDEMO) -l$(DEMO).lst $(DEMO).s
|
|
java -jar $(AC) -d $(DEMO).dsk $(DEMO)
|
|
java -jar $(AC) -p $(DEMO).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 $(DEMO).dsk $(PGM)
|
|
java -jar $(AC) -p $(DEMO).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
|
|
|