ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/MakefileRO
Revision: 1.3
Committed: 2003-07-01T18:06:06Z (21 years, 5 months ago) by cebix
Branch: MAIN
Changes since 1.2: +1 -1 lines
Log Message:
bumped version number to 4.2

File Contents

# User Rev Content
1 cebix 1.2 # Makefile for Frodo (RISC OS with GCC)
2 cebix 1.1
3     ## Version information
4     VERSION = 4
5 cebix 1.3 REVISION = 2
6 cebix 1.1
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
14    
15     LIBRARIES = GCC:o.libgcc C:o.stubs
16     LINK = drlink
17     ASS = as
18    
19     ## Files
20     OBJS = o.Prefs o.REU o.IEC o.1541fs o.1541d64 o.1541t64 o.1541job o.SAM o.ROlib
21     SLOBJS = $(OBJS) o.C64 o.CPUC64 o.VIC o.CIA o.CPU1541 o.Display o.SID o.main o.AcornGUI
22     SCOBJS = $(OBJS) o.C64_SC o.CPUC64_SC o.VIC_SC o.CIA_SC o.CPU1541_SC o.CPU_common o.Display_SC\
23     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
26    
27    
28     all: Frodo FrodoSC FrodoPC
29    
30     Frodo: $(SLOBJS)
31     $(LINK) -o Frodo $(LIBRARIES) $(SLOBJS) $(LDFLAGS)
32    
33     FrodoSC: $(SCOBJS)
34     $(LINK) -o FrodoSC $(LIBRARIES) $(SCOBJS) $(LDFLAGS)
35    
36     FrodoPC: $(PCOBJS)
37     $(LINK) -o FrodoPC $(LIBRARIES) $(PCOBJS) $(LDFLAGS)
38    
39    
40     # SC objects
41     o.C64_SC: cc.C64 h.C64 i.C64_Acorn h.CPUC64 h.CPU1541 h.VIC h.SID h.CIA h.REU \
42     h.IEC h.1541job h.Display h.Prefs h.ROlib h.AcornGUI i.OldSnap
43     $(CXX) $(INCLUDES) $(SCFLAGS) -c C64_SC.cc
44    
45     o.CPUC64_SC: cc.CPUC64_SC h.CPUC64 i.CPU_emulcycle h.CPU_common h.C64 h.VIC h.SID h.CIA \
46     h.REU h.IEC h.Display h.Version h.ROlib
47     $(CXX) $(INCLUDES) $(SCFLAGSO) -c CPUC64_SC.cc
48    
49     o.CPU1541_SC: cc.CPU1541_SC h.CPU1541 i.CPU_emulcycle h.CPU_common h.1541job h.C64 h.CIA \
50     h.Display h.ROlib
51     $(CXX) $(INCLUDES) $(SCFLAGSO) -c CPU1541_SC.cc
52    
53     o.VIC_SC: cc.VIC_SC h.VIC h.C64 h.CPUC64 h.Display h.Prefs h.ROlib
54     $(CXX) $(INCLUDES) $(SCFLAGSO) -c VIC_SC.cc
55    
56     o.CIA_SC: cc.CIA_SC h.CIA h.CPUC64 h.CPU1541 h.VIC h.Prefs
57     $(CXX) $(INCLUDES) $(SCFLAGSO) -c CIA_SC.cc
58    
59     ## These were added for RISC OS -- same source code, but different object files needed!
60     o.main_SC: cc.main_SC cc.main h.main i.main_Acorn h.C64 h.Display h.Prefs h.SAM h.ROlib\
61     h.AcornGUI
62     $(CXX) $(INCLUDES) $(SCFLAGS) -c main_SC.cc
63    
64     o.Display_SC: cc.Display_SC cc.Display h.Display i.Display_Acorn h.main h.Prefs h.Version\
65     h.ROlib h.C64 h.AcornGUI h.VIC
66     $(CXX) $(INCLUDES) $(SCFLAGS) -c Display_SC.cc
67    
68     o.SID_SC: cc.SID_SC cc.SID h.SID i.SID_Acorn h.Prefs h.ROlib h.C64 i.FixPoint
69     $(CXX) $(INCLUDES) $(SCFLAGSO) -c SID_SC.cc
70    
71     o.AcornGUI_SC: cc.AcornGUI_SC cc.AcornGUI h.AcornGUI h.ROlib h.main h.Prefs h.C64 h.VIC\
72     h.Version
73     $(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    
98    
99     ## Dependencies
100     o.main: cc.main h.main i.main_Acorn h.C64 h.Display h.Prefs h.SAM h.ROlib h.AcornGUI
101     $(CXX) $(INCLUDES) $(CFLAGS) -c main.cc
102    
103     o.C64: cc.C64 h.C64 i.C64_Acorn h.CPUC64 h.CPU1541 h.VIC h.SID h.CIA \
104     h.REU h.IEC h.1541job h.Display h.Prefs h.ROlib h.AcornGUI i.OldSnap
105     $(CXX) $(INCLUDES) $(CFLAGS) -c C64.cc
106    
107     o.Display: cc.Display h.Display i.Display_Acorn h.main h.Prefs h.Version h.ROlib h.C64\
108     h.AcornGUI h.VIC
109     $(CXX) $(INCLUDES) $(CFLAGS) -c Display.cc
110    
111     o.Prefs: cc.Prefs h.Prefs h.Display h.main h.ROlib
112     $(CXX) $(INCLUDES) $(CFLAGS) -c Prefs.cc
113    
114     o.CPUC64: cc.CPUC64 h.CPUC64 i.CPU_emulline h.C64 h.VIC h.SID h.CIA h.REU h.IEC \
115     h.Display h.Version h.ROlib
116     $(CXX) $(INCLUDES) $(CFLAGSO) -c CPUC64.cc
117    
118     o.CPU1541: cc.CPU1541 h.CPU1541 i.CPU_emulline h.1541job h.C64 h.CIA h.Display h.ROlib
119     $(CXX) $(INCLUDES) $(CFLAGSO) -c CPU1541.cc
120    
121     o.CPU_common: cc.CPU_common h.CPU_common
122     $(CXX) $(INCLUDES) $(CFLAGS) -c CPU_common.cc
123    
124     o.VIC: cc.VIC h.VIC h.C64 h.CPUC64 h.Display h.Prefs h.ROlib i.el_Acorn
125     $(CXX) $(INCLUDES) $(CFLAGSO) -c VIC.cc
126    
127     o.SID: cc.SID h.SID i.SID_Acorn h.Prefs h.ROlib h.C64 i.FixPoint
128     $(CXX) $(INCLUDES) $(CFLAGSO) -c SID.cc
129    
130     o.CIA: cc.CIA h.CIA h.CPUC64 h.CPU1541 h.VIC h.Prefs
131     $(CXX) $(INCLUDES) $(CFLAGSO) -c CIA.cc
132    
133     o.IEC: cc.IEC h.IEC h.1541fs h.1541d64 h.1541t64 h.Prefs h.Display h.ROlib
134     $(CXX) $(INCLUDES) $(CFLAGS) -c IEC.cc
135    
136     o.1541fs: cc.1541fs h.1541fs h.IEC h.main h.Prefs h.ROlib
137     $(CXX) $(INCLUDES) $(CFLAGS) -c 1541fs.cc
138    
139     h.1541fs: h.IEC
140    
141     o.1541d64: cc.1541d64 h.1541d64 h.IEC h.Prefs
142     $(CXX) $(INCLUDES) $(CFLAGS) -c 1541d64.cc
143    
144     h.1541d64: h.IEC
145    
146     o.1541t64: cc.1541t64 h.1541t64 h.IEC h.Prefs
147     $(CXX) $(INCLUDES) $(CFLAGS) -c 1541t64.cc
148    
149     h.1541t64: h.IEC
150    
151     o.1541job: cc.1541job h.1541job h.CPU1541 h.Prefs
152     $(CXX) $(INCLUDES) $(CFLAGS) -c 1541job.cc
153    
154     o.REU: cc.REU h.REU h.CPUC64 h.Prefs
155     $(CXX) $(INCLUDES) $(CFLAGS) -c REU.cc
156    
157     o.SAM: cc.SAM h.SAM h.C64 h.CPUC64 h.CPU1541 h.VIC h.SID h.CIA
158     $(CXX) $(INCLUDES) $(CFLAGS) -c SAM.cc
159    
160     o.ROlib: s.ROlib
161     $(ASS) -o o.ROlib s.ROlib
162    
163     o.AcornGUI: cc.AcornGUI h.AcornGUI h.ROlib h.main h.Display h.Prefs h.Version h.C64 h.VIC
164     $(CXX) $(INCLUDES) $(CFLAGS) -c AcornGUI.cc