2 |
|
|
3 |
|
## Version information |
4 |
|
VERSION = 4 |
5 |
< |
REVISION = 1 |
5 |
> |
REVISION = 2 |
6 |
|
|
7 |
|
CXX = gcc |
8 |
|
CFLAGS = -O2 |
9 |
|
CFLAGSO = -O3 |
10 |
|
SCFLAGS = -O2 -DFRODO_SC |
11 |
|
SCFLAGSO = -O3 -DFRODO_SC |
12 |
– |
PCFLAGS = -O2 -DFRODO_PC |
13 |
– |
PCFLAGSO = -O3 -DFRODO_PC |
12 |
|
|
13 |
|
LIBRARIES = GCC:o.libgcc C:o.stubs |
14 |
|
LINK = drlink |
19 |
|
SLOBJS = $(OBJS) o.C64 o.CPUC64 o.VIC o.CIA o.CPU1541 o.Display o.SID o.main o.AcornGUI |
20 |
|
SCOBJS = $(OBJS) o.C64_SC o.CPUC64_SC o.VIC_SC o.CIA_SC o.CPU1541_SC o.CPU_common o.Display_SC\ |
21 |
|
o.main_SC o.SID_SC o.AcornGUI_SC |
24 |
– |
PCOBJS = $(OBJS) o.C64_PC o.CPUC64_PC o.VIC o.CIA o.CPU1541_PC o.Display o.main_PC o.SID\ |
25 |
– |
o.AcornGUI_PC |
22 |
|
|
23 |
< |
|
28 |
< |
all: Frodo FrodoSC FrodoPC |
23 |
> |
all: Frodo FrodoSC |
24 |
|
|
25 |
|
Frodo: $(SLOBJS) |
26 |
|
$(LINK) -o Frodo $(LIBRARIES) $(SLOBJS) $(LDFLAGS) |
27 |
|
|
33 |
– |
FrodoSC: $(SCOBJS) |
34 |
– |
$(LINK) -o FrodoSC $(LIBRARIES) $(SCOBJS) $(LDFLAGS) |
35 |
– |
|
28 |
|
FrodoPC: $(PCOBJS) |
29 |
|
$(LINK) -o FrodoPC $(LIBRARIES) $(PCOBJS) $(LDFLAGS) |
30 |
|
|
31 |
|
|
32 |
|
# SC objects |
33 |
< |
o.C64_SC: cc.C64 h.C64 i.C64_Acorn h.CPUC64 h.CPU1541 h.VIC h.SID h.CIA h.REU \ |
33 |
> |
o.C64_SC: cc.C64_SC h.C64 i.C64_Acorn h.CPUC64 h.CPU1541 h.VIC h.SID h.CIA h.REU \ |
34 |
|
h.IEC h.1541job h.Display h.Prefs h.ROlib h.AcornGUI i.OldSnap |
35 |
|
$(CXX) $(INCLUDES) $(SCFLAGS) -c C64_SC.cc |
36 |
|
|
63 |
|
o.AcornGUI_SC: cc.AcornGUI_SC cc.AcornGUI h.AcornGUI h.ROlib h.main h.Prefs h.C64 h.VIC\ |
64 |
|
h.Version |
65 |
|
$(CXX) $(INCLUDES) $(SCFLAGS) -c AcornGUI_SC.cc |
74 |
– |
|
75 |
– |
|
76 |
– |
# PC objects |
77 |
– |
o.C64_PC: cc.C64 h.C64 i.C64_Acorn h.CPUC64 h.CPU1541 h.VIC h.SID h.CIA h.REU \ |
78 |
– |
h.IEC h.1541job h.Display h.Prefs h.ROlib h.AcornGUI i.OldSnap |
79 |
– |
$(CXX) $(INCLUDES) $(PCFLAGS) -c C64_PC.cc |
80 |
– |
|
81 |
– |
o.CPUC64_PC: cc.CPUC64_PC cc.CPUC64 h.CPUC64 i.CPU_emulline h.C64 h.VIC h.SID h.CIA \ |
82 |
– |
h.REU h.IEC h.Display h.Version h.ROlib |
83 |
– |
$(CXX) $(INCLUDES) $(PCFLAGSO) -c CPUC64_PC.cc |
84 |
– |
|
85 |
– |
o.CPU1541_PC: cc.CPU1541_PC cc.CPU1541 h.CPU1541 i.CPU_emulline h.1541job h.C64 h.CIA \ |
86 |
– |
h.Display h.ROlib |
87 |
– |
$(CXX) $(INCLUDES) $(PCFLAGSO) -c CPU1541_PC.cc |
88 |
– |
|
89 |
– |
## These were added for RISC OS -- same source code, but different object files needed! |
90 |
– |
o.main_PC: cc.main_PC cc.main h.main i.main_Acorn h.C64 h.Display h.Prefs h.SAM h.ROlib\ |
91 |
– |
h.AcornGUI |
92 |
– |
$(CXX) $(INCLUDES) $(PCFLAGS) -c main_PC.cc |
93 |
– |
|
94 |
– |
o.AcornGUI_PC: cc.AcornGUI_PC cc.AcornGUI h.AcornGUI h.ROlib h.main h.Prefs h.C64 h.VIC\ |
95 |
– |
h.Version |
96 |
– |
$(CXX) $(INCLUDES) $(PCFLAGS) -c AcornGUI_PC.cc |
97 |
– |
|
66 |
|
|
67 |
|
## Dependencies |
68 |
|
o.main: cc.main h.main i.main_Acorn h.C64 h.Display h.Prefs h.SAM h.ROlib h.AcornGUI |