58
81
OBJS = $(SRCS_LIST_TO_OBJS)
83
define GUI_SRCS_LIST_TO_OBJS
84
$(addprefix $(OBJ_DIR)/, $(addsuffix .go, $(foreach file, $(GUI_SRCS), \
85
$(basename $(notdir $(file))))))
87
GUI_OBJS = $(GUI_SRCS_LIST_TO_OBJS)
60
89
SRC_PATHS += $(sort $(foreach file, $(SRCS), $(dir $(file))))
62
91
VPATH += $(addprefix :, $(subst ,:, $(filter-out $($(subst, :, ,$(VPATH))), $(SRC_PATHS))))
64
$(APP): $(OBJ_DIR) $(OBJS)
65
$(CXX) -o $(APP) $(LDFLAGS) $(OBJS) $(LIBS)
93
$(APP)$(EXEEXT): $(OBJ_DIR) $(OBJS)
94
$(CXX) -o $@ $(LDFLAGS) $(OBJS) $(LIBS)
95
$(BLESS) $(APP)$(EXEEXT)
97
$(GUI_APP)$(EXEEXT): $(OBJ_DIR) $(GUI_OBJS)
98
$(CXX) -o $@ $(LDFLAGS) $(GUI_OBJS) $(GUI_LIBS)
100
$(APP)_app: $(APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns
101
mkdir -p $(APP_APP)/Contents
102
cp -f ../MacOSX/Info.plist $(APP_APP)/Contents/
103
echo -n 'APPL????' > $(APP_APP)/Contents/PkgInfo
104
mkdir -p $(APP_APP)/Contents/MacOS
105
cp -f $(APP) $(APP_APP)/Contents/MacOS/
106
strip $(APP_APP)/Contents/MacOS/$(APP)
107
mkdir -p $(APP_APP)/Contents/Resources
108
cp -f ../MacOSX/$(APP).icns $(APP_APP)/Contents/Resources/
110
$(GUI_APP)_app: $(GUI_APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns
111
mkdir -p $(GUI_APP_APP)/Contents
112
sed -e "s/$(APP)/$(GUI_APP)/" < ../MacOSX/Info.plist > $(GUI_APP_APP)/Contents/Info.plist
113
echo -n 'APPL????' > $(GUI_APP_APP)/Contents/PkgInfo
114
mkdir -p $(GUI_APP_APP)/Contents/MacOS
115
cp -f $(GUI_APP) $(GUI_APP_APP)/Contents/MacOS/
116
strip $(GUI_APP_APP)/Contents/MacOS/$(GUI_APP)
117
mkdir -p $(GUI_APP_APP)/Contents/Resources
118
cp -f ../MacOSX/$(APP).icns $(GUI_APP_APP)/Contents/Resources/$(GUI_APP).icns
68
121
cd Linux/NetDriver; make
70
install: $(APP) installdirs
71
$(INSTALL_PROGRAM) $(APP) $(DESTDIR)$(bindir)/$(APP)
123
install: $(PROGS) installdirs
124
$(INSTALL_PROGRAM) $(APP)$(EXEEXT) $(DESTDIR)$(bindir)/$(APP)$(EXEEXT)
125
if test -f "$(GUI_APP)$(EXEEXT)"; then \
126
$(INSTALL_PROGRAM) $(GUI_APP)$(EXEEXT) $(DESTDIR)$(bindir)/$(GUI_APP)$(EXEEXT); \
72
128
-$(INSTALL_DATA) $(APP).1 $(DESTDIR)$(man1dir)/$(APP).1
73
$(INSTALL_DATA) keycodes $(DESTDIR)$(datadir)/$(APP)/keycodes
129
$(INSTALL_DATA) $(KEYCODES) $(DESTDIR)$(datadir)/$(APP)/keycodes
74
130
$(INSTALL_DATA) fbdevices $(DESTDIR)$(datadir)/$(APP)/fbdevices
131
$(INSTALL_DATA) tunconfig $(DESTDIR)$(datadir)/$(APP)/tunconfig
77
134
$(SHELL) mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(datadir)/$(APP)
80
rm -f $(DESTDIR)$(bindir)/$(APP)
137
rm -f $(DESTDIR)$(bindir)/$(APP)$(EXEEXT)
138
rm -f $(DESTDIR)$(bindir)/$(GUI_APP)$(EXEEXT)
81
139
rm -f $(DESTDIR)$(man1dir)/$(APP).1
82
140
rm -f $(DESTDIR)$(datadir)/$(APP)/keycodes
83
141
rm -f $(DESTDIR)$(datadir)/$(APP)/fbdevices
142
rm -f $(DESTDIR)$(datadir)/$(APP)/tunconfig
84
143
rmdir $(DESTDIR)$(datadir)/$(APP)
87
rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak
146
rm -f $(PROGS) $(OBJ_DIR)/* core* *.core *~ *.bak
89
148
clean: mostlyclean
90
149
rm -f cpuemu.cpp cpudefs.cpp cputmp*.s cpufast*.s cpustbl.cpp cputbl.h compemu.cpp compstbl.cpp comptbl.h
153
rm -rf autom4te.cache
95
155
rm -f config.cache config.log config.status config.h
156
rm -f Darwin/lowmem Darwin/pagezero
98
159
makedepend $(CPPFLAGS) -Y. $(SRCS) 2>/dev/null
161
$(OBJ_DIR)/%.o : ../slirp/%.c
162
$(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(SLIRP_CFLAGS) -c $< -o $@
100
163
$(OBJ_DIR)/%.o : %.c
101
$(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(EXTRACFLAGS) -c $< -o $@
164
$(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c $< -o $@
102
165
$(OBJ_DIR)/%.o : %.cpp
103
$(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
166
$(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c $< -o $@
167
$(OBJ_DIR)/%.o : %.mm
168
$(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c $< -o $@
104
169
$(OBJ_DIR)/%.o : %.s
105
$(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(EXTRACFLAGS) -c $< -o $@
107
$(OBJ_DIR)/cpuopti: $(OBJ_DIR)/cpuopti.o
108
$(CC) $(LDFLAGS) -o $(OBJ_DIR)/cpuopti $(OBJ_DIR)/cpuopti.o
109
$(OBJ_DIR)/build68k: $(OBJ_DIR)/build68k.o
110
$(CC) $(LDFLAGS) -o $(OBJ_DIR)/build68k $(OBJ_DIR)/build68k.o
111
$(OBJ_DIR)/gencpu: $(OBJ_DIR)/gencpu.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
112
$(CXX) $(LDFLAGS) -o $(OBJ_DIR)/gencpu $(OBJ_DIR)/gencpu.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
113
$(OBJ_DIR)/gencomp: $(OBJ_DIR)/gencomp.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
114
$(CXX) $(LDFLAGS) -o $(OBJ_DIR)/gencomp $(OBJ_DIR)/gencomp.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
116
cpudefs.cpp: $(OBJ_DIR)/build68k ../uae_cpu/table68k
117
$(OBJ_DIR)/build68k <../uae_cpu/table68k >cpudefs.cpp
170
$(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c $< -o $@
171
$(OBJ_DIR)/%.go : %.cpp
172
$(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) $(GUI_CFLAGS) -DSTANDALONE_GUI -c $< -o $@
176
windres --include-dir ../Windows -i $< -o $@
178
$(OBJ_DIR)/build68k$(EXEEXT): $(OBJ_DIR)/build68k.o
179
$(CC) $(LDFLAGS) -o $(OBJ_DIR)/build68k$(EXEEXT) $(OBJ_DIR)/build68k.o
180
$(OBJ_DIR)/gencpu$(EXEEXT): $(OBJ_DIR)/gencpu.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
181
$(CXX) $(LDFLAGS) -o $(OBJ_DIR)/gencpu$(EXEEXT) $(OBJ_DIR)/gencpu.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
182
$(OBJ_DIR)/gencomp$(EXEEXT): $(OBJ_DIR)/gencomp.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
183
$(CXX) $(LDFLAGS) -o $(OBJ_DIR)/gencomp$(EXEEXT) $(OBJ_DIR)/gencomp.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
185
cpudefs.cpp: $(OBJ_DIR)/build68k$(EXEEXT) ../uae_cpu/table68k
186
$(OBJ_DIR)/build68k$(EXEEXT) <../uae_cpu/table68k >cpudefs.cpp
118
187
cpustbl.cpp: cpuemu.cpp
119
188
cpustbl_nf.cpp: cpustbl.cpp
120
189
compstbl.cpp: compemu.cpp
121
190
cputbl.h: cpuemu.cpp
122
191
comptbl.h: compemu.cpp
124
cpuemu.cpp: $(OBJ_DIR)/gencpu
193
cpuemu.cpp: $(OBJ_DIR)/gencpu$(EXEEXT)
194
$(OBJ_DIR)/gencpu$(EXEEXT)
127
compemu.cpp: $(OBJ_DIR)/gencomp
196
compemu.cpp: $(OBJ_DIR)/gencomp$(EXEEXT)
197
$(OBJ_DIR)/gencomp$(EXEEXT)
130
199
$(OBJ_DIR)/cpustbl_nf.o: cpustbl.cpp
131
$(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) $(EXTRACXXFLAGS) -DNOFLAGS -c $< -o $@
200
$(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -DNOFLAGS -c $< -o $@
133
202
$(OBJ_DIR)/compemu_support.o: compemu_support.cpp comptbl.h
134
$(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
203
$(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c $< -o $@
136
205
$(OBJ_DIR)/cpuemu1.o: cpuemu.cpp
137
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
206
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 $(CXXFLAGS) -c $< -o $@
138
207
$(OBJ_DIR)/cpuemu2.o: cpuemu.cpp
139
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
208
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 $(CXXFLAGS) -c $< -o $@
140
209
$(OBJ_DIR)/cpuemu3.o: cpuemu.cpp
141
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
210
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 $(CXXFLAGS) -c $< -o $@
142
211
$(OBJ_DIR)/cpuemu4.o: cpuemu.cpp
143
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
212
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 $(CXXFLAGS) -c $< -o $@
144
213
$(OBJ_DIR)/cpuemu5.o: cpuemu.cpp
145
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
214
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 $(CXXFLAGS) -c $< -o $@
146
215
$(OBJ_DIR)/cpuemu6.o: cpuemu.cpp
147
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
216
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 $(CXXFLAGS) -c $< -o $@
148
217
$(OBJ_DIR)/cpuemu7.o: cpuemu.cpp
149
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
218
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 $(CXXFLAGS) -c $< -o $@
150
219
$(OBJ_DIR)/cpuemu8.o: cpuemu.cpp
151
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
220
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 $(CXXFLAGS) -c $< -o $@
153
222
$(OBJ_DIR)/cpuemu1_nf.o: cpuemu.cpp
154
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 -DNOFLAGS $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
223
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
155
224
$(OBJ_DIR)/cpuemu2_nf.o: cpuemu.cpp
156
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 -DNOFLAGS $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
225
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
157
226
$(OBJ_DIR)/cpuemu3_nf.o: cpuemu.cpp
158
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 -DNOFLAGS $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
227
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
159
228
$(OBJ_DIR)/cpuemu4_nf.o: cpuemu.cpp
160
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 -DNOFLAGS $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
229
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
161
230
$(OBJ_DIR)/cpuemu5_nf.o: cpuemu.cpp
162
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 -DNOFLAGS $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
231
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
163
232
$(OBJ_DIR)/cpuemu6_nf.o: cpuemu.cpp
164
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 -DNOFLAGS $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
233
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
165
234
$(OBJ_DIR)/cpuemu7_nf.o: cpuemu.cpp
166
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 -DNOFLAGS $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
235
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
167
236
$(OBJ_DIR)/cpuemu8_nf.o: cpuemu.cpp
168
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 -DNOFLAGS $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
237
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
170
239
$(OBJ_DIR)/compemu1.o: compemu.cpp
171
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
240
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 $(CXXFLAGS) -c $< -o $@
172
241
$(OBJ_DIR)/compemu2.o: compemu.cpp
173
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
242
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 $(CXXFLAGS) -c $< -o $@
174
243
$(OBJ_DIR)/compemu3.o: compemu.cpp
175
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
244
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 $(CXXFLAGS) -c $< -o $@
176
245
$(OBJ_DIR)/compemu4.o: compemu.cpp
177
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
246
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 $(CXXFLAGS) -c $< -o $@
178
247
$(OBJ_DIR)/compemu5.o: compemu.cpp
179
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
248
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 $(CXXFLAGS) -c $< -o $@
180
249
$(OBJ_DIR)/compemu6.o: compemu.cpp
181
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
250
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 $(CXXFLAGS) -c $< -o $@
182
251
$(OBJ_DIR)/compemu7.o: compemu.cpp
183
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
252
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 $(CXXFLAGS) -c $< -o $@
184
253
$(OBJ_DIR)/compemu8.o: compemu.cpp
185
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 $(CXXFLAGS) $(EXTRACXXFLAGS) -c $< -o $@
187
cpufast.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
188
$(CXX) $(CPPFLAGS) $(DEFS) -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp.s
189
$(OBJ_DIR)/cpuopti <cputmp.s >$@ || mv cputmp.s $@
191
cpufast1.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
192
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp1.s
193
$(OBJ_DIR)/cpuopti <cputmp1.s >$@ || mv cputmp1.s $@
195
cpufast2.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
196
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp2.s
197
$(OBJ_DIR)/cpuopti <cputmp2.s >$@ || mv cputmp2.s $@
199
cpufast3.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
200
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp3.s
201
$(OBJ_DIR)/cpuopti <cputmp3.s >$@ || mv cputmp3.s $@
203
cpufast4.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
204
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp4.s
205
$(OBJ_DIR)/cpuopti <cputmp4.s >$@ || mv cputmp4.s $@
207
cpufast5.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
208
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp5.s
209
$(OBJ_DIR)/cpuopti <cputmp5.s >$@ || mv cputmp5.s $@
211
cpufast6.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
212
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp6.s
213
$(OBJ_DIR)/cpuopti <cputmp6.s >$@ || mv cputmp6.s $@
215
cpufast7.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
216
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp7.s
217
$(OBJ_DIR)/cpuopti <cputmp7.s >$@ || mv cputmp7.s $@
219
cpufast8.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
220
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp8.s
221
$(OBJ_DIR)/cpuopti <cputmp8.s >$@ || mv cputmp8.s $@
224
cpufast_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
225
$(CXX) $(CPPFLAGS) $(DEFS) -DNOFLAGS -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp_nf.s
226
$(OBJ_DIR)/cpuopti <cputmp_nf.s >$@ || mv cputmp_nf.s $@
228
cpufast1_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
229
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 -DNOFLAGS -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp1_nf.s
230
$(OBJ_DIR)/cpuopti <cputmp1_nf.s >$@ || mv cputmp1_nf.s $@
232
cpufast2_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
233
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 -DNOFLAGS -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp2_nf.s
234
$(OBJ_DIR)/cpuopti <cputmp2_nf.s >$@ || mv cputmp2_nf.s $@
236
cpufast3_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
237
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 -DNOFLAGS -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp3_nf.s
238
$(OBJ_DIR)/cpuopti <cputmp3_nf.s >$@ || mv cputmp3_nf.s $@
240
cpufast4_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
241
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 -DNOFLAGS -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp4_nf.s
242
$(OBJ_DIR)/cpuopti <cputmp4_nf.s >$@ || mv cputmp4_nf.s $@
244
cpufast5_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
245
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 -DNOFLAGS -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp5_nf.s
246
$(OBJ_DIR)/cpuopti <cputmp5_nf.s >$@ || mv cputmp5_nf.s $@
248
cpufast6_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
249
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 -DNOFLAGS -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp6_nf.s
250
$(OBJ_DIR)/cpuopti <cputmp6_nf.s >$@ || mv cputmp6_nf.s $@
252
cpufast7_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
253
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 -DNOFLAGS -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp7_nf.s
254
$(OBJ_DIR)/cpuopti <cputmp7_nf.s >$@ || mv cputmp7_nf.s $@
256
cpufast8_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
257
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 -DNOFLAGS -S $(CXXFLAGS) $(EXTRACXXFLAGS) $< -o cputmp8_nf.s
258
$(OBJ_DIR)/cpuopti <cputmp8_nf.s >$@ || mv cputmp8_nf.s $@
254
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 $(CXXFLAGS) -c $< -o $@
261
256
#-------------------------------------------------------------------------
262
257
# DO NOT DELETE THIS LINE -- make depend depends on it.