forked from blondie7575/WeeGUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.win
45 lines (36 loc) · 948 Bytes
/
Makefile.win
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# 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=0x7b00
ADDRDEMO=0x6000
PGM=weegui
DEMO=asmdemo
all: $(DEMO) $(PGM)
$(DEMO):
# @PATH=$(PATH):/usr/local/bin;
$(CL65) -t apple2enh --start-addr $(ADDRDEMO) -l$(DEMO).lst -m$(DEMO).map -Wl -D__STACKSIZE__=0 $(DEMO).s
java -jar $(AC) -d $(PGM).dsk $(DEMO)
java -jar $(AC) -cc65 $(PGM).dsk $(DEMO) BIN < $(DEMO)
rm -f $(DEMO)
rm -f $(DEMO).o
$(PGM):
# @PATH=$(PATH):/usr/local/bin;
$(CL65) -t apple2enh --start-addr $(ADDR) -l$(PGM).lst -m$(PGM).map -Wl -D__STACKSIZE__=0 $(PGM).s
java -jar $(AC) -d $(PGM).dsk $(PGM)
java -jar $(AC) -cc65 $(PGM).dsk $(PGM) BIN < $(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