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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
|
# Makefile generated by XPJ for LINUX32
-include Makefile.custom
ProjectName = SnippetCustomProfiler
SnippetCustomProfiler_cppfiles += ./../../SnippetCommon/ClassicMain.cpp
SnippetCustomProfiler_cppfiles += ./../../SnippetCustomProfiler/SnippetCustomProfiler.cpp
SnippetCustomProfiler_cppfiles += ./../../SnippetCustomProfiler/SnippetCustomProfilerRender.cpp
SnippetCustomProfiler_cpp_debug_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(SnippetCustomProfiler_cppfiles)))))
SnippetCustomProfiler_cc_debug_dep = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.debug.P, $(SnippetCustomProfiler_ccfiles)))))
SnippetCustomProfiler_c_debug_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(SnippetCustomProfiler_cfiles)))))
SnippetCustomProfiler_debug_dep = $(SnippetCustomProfiler_cpp_debug_dep) $(SnippetCustomProfiler_cc_debug_dep) $(SnippetCustomProfiler_c_debug_dep)
-include $(SnippetCustomProfiler_debug_dep)
SnippetCustomProfiler_cpp_checked_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(SnippetCustomProfiler_cppfiles)))))
SnippetCustomProfiler_cc_checked_dep = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.checked.P, $(SnippetCustomProfiler_ccfiles)))))
SnippetCustomProfiler_c_checked_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(SnippetCustomProfiler_cfiles)))))
SnippetCustomProfiler_checked_dep = $(SnippetCustomProfiler_cpp_checked_dep) $(SnippetCustomProfiler_cc_checked_dep) $(SnippetCustomProfiler_c_checked_dep)
-include $(SnippetCustomProfiler_checked_dep)
SnippetCustomProfiler_cpp_profile_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(SnippetCustomProfiler_cppfiles)))))
SnippetCustomProfiler_cc_profile_dep = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.profile.P, $(SnippetCustomProfiler_ccfiles)))))
SnippetCustomProfiler_c_profile_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(SnippetCustomProfiler_cfiles)))))
SnippetCustomProfiler_profile_dep = $(SnippetCustomProfiler_cpp_profile_dep) $(SnippetCustomProfiler_cc_profile_dep) $(SnippetCustomProfiler_c_profile_dep)
-include $(SnippetCustomProfiler_profile_dep)
SnippetCustomProfiler_cpp_release_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(SnippetCustomProfiler_cppfiles)))))
SnippetCustomProfiler_cc_release_dep = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.release.P, $(SnippetCustomProfiler_ccfiles)))))
SnippetCustomProfiler_c_release_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(SnippetCustomProfiler_cfiles)))))
SnippetCustomProfiler_release_dep = $(SnippetCustomProfiler_cpp_release_dep) $(SnippetCustomProfiler_cc_release_dep) $(SnippetCustomProfiler_c_release_dep)
-include $(SnippetCustomProfiler_release_dep)
SnippetCustomProfiler_debug_hpaths :=
SnippetCustomProfiler_debug_hpaths += ./../../../Include
SnippetCustomProfiler_debug_hpaths += ./../../../../PxShared/include
SnippetCustomProfiler_debug_hpaths += ./../../../../PxShared/src/foundation/include
SnippetCustomProfiler_debug_hpaths += ./../../../../PxShared/src/fastxml/include
SnippetCustomProfiler_debug_lpaths :=
SnippetCustomProfiler_debug_lpaths += ./../../../Lib/linux32
SnippetCustomProfiler_debug_lpaths += ./../../lib/linux32
SnippetCustomProfiler_debug_lpaths += ./../../../Bin/linux32
SnippetCustomProfiler_debug_lpaths += ./../../../../PxShared/lib/linux32
SnippetCustomProfiler_debug_lpaths += ./../../../../PxShared/bin/linux32
SnippetCustomProfiler_debug_lpaths += ./../../lib/linux32
SnippetCustomProfiler_debug_defines := $(SnippetCustomProfiler_custom_defines)
SnippetCustomProfiler_debug_defines += PHYSX_PROFILE_SDK
SnippetCustomProfiler_debug_defines += RENDER_SNIPPET
SnippetCustomProfiler_debug_defines += _DEBUG
SnippetCustomProfiler_debug_defines += PX_DEBUG=1
SnippetCustomProfiler_debug_defines += PX_CHECKED=1
SnippetCustomProfiler_debug_defines += PX_SUPPORT_PVD=1
SnippetCustomProfiler_debug_libraries :=
SnippetCustomProfiler_debug_libraries += SnippetRenderDEBUG
SnippetCustomProfiler_debug_libraries += SnippetUtilsDEBUG
SnippetCustomProfiler_debug_libraries += PhysX3DEBUG_x86
SnippetCustomProfiler_debug_libraries += PhysX3CookingDEBUG_x86
SnippetCustomProfiler_debug_libraries += PhysX3CharacterKinematicDEBUG_x86
SnippetCustomProfiler_debug_libraries += PhysX3ExtensionsDEBUG
SnippetCustomProfiler_debug_libraries += PhysX3VehicleDEBUG
SnippetCustomProfiler_debug_libraries += PxPvdSDKDEBUG_x86
SnippetCustomProfiler_debug_libraries += PhysX3CommonDEBUG_x86
SnippetCustomProfiler_debug_libraries += PxFoundationDEBUG_x86
SnippetCustomProfiler_debug_libraries += PxTaskDEBUG
SnippetCustomProfiler_debug_libraries += PsFastXmlDEBUG
SnippetCustomProfiler_debug_libraries += SnippetUtilsDEBUG
SnippetCustomProfiler_debug_libraries += SnippetRenderDEBUG
SnippetCustomProfiler_debug_libraries += GL
SnippetCustomProfiler_debug_libraries += GLU
SnippetCustomProfiler_debug_libraries += glut
SnippetCustomProfiler_debug_libraries += X11
SnippetCustomProfiler_debug_libraries += rt
SnippetCustomProfiler_debug_libraries += pthread
SnippetCustomProfiler_debug_common_cflags := $(SnippetCustomProfiler_custom_cflags)
SnippetCustomProfiler_debug_common_cflags += -MMD
SnippetCustomProfiler_debug_common_cflags += $(addprefix -D, $(SnippetCustomProfiler_debug_defines))
SnippetCustomProfiler_debug_common_cflags += $(addprefix -I, $(SnippetCustomProfiler_debug_hpaths))
SnippetCustomProfiler_debug_common_cflags += -m32
SnippetCustomProfiler_debug_common_cflags += -Werror -m32 -fPIC -msse2 -mfpmath=sse -malign-double -fno-exceptions -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden
SnippetCustomProfiler_debug_common_cflags += -Wall -Wextra -Wstrict-aliasing=2 -fdiagnostics-show-option
SnippetCustomProfiler_debug_common_cflags += -Wno-uninitialized
SnippetCustomProfiler_debug_common_cflags += -g3 -gdwarf-2
SnippetCustomProfiler_debug_cflags := $(SnippetCustomProfiler_debug_common_cflags)
SnippetCustomProfiler_debug_cppflags := $(SnippetCustomProfiler_debug_common_cflags)
SnippetCustomProfiler_debug_lflags := $(SnippetCustomProfiler_custom_lflags)
SnippetCustomProfiler_debug_lflags += $(addprefix -L, $(SnippetCustomProfiler_debug_lpaths))
SnippetCustomProfiler_debug_lflags += -Wl,--start-group $(addprefix -l, $(SnippetCustomProfiler_debug_libraries)) -Wl,--end-group
SnippetCustomProfiler_debug_lflags += -lrt
SnippetCustomProfiler_debug_lflags += -Wl,-rpath ./
SnippetCustomProfiler_debug_lflags += -m32
SnippetCustomProfiler_debug_objsdir = $(OBJS_DIR)/SnippetCustomProfiler_debug
SnippetCustomProfiler_debug_cpp_o = $(addprefix $(SnippetCustomProfiler_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(SnippetCustomProfiler_cppfiles)))))
SnippetCustomProfiler_debug_cc_o = $(addprefix $(SnippetCustomProfiler_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(SnippetCustomProfiler_ccfiles)))))
SnippetCustomProfiler_debug_c_o = $(addprefix $(SnippetCustomProfiler_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(SnippetCustomProfiler_cfiles)))))
SnippetCustomProfiler_debug_obj = $(SnippetCustomProfiler_debug_cpp_o) $(SnippetCustomProfiler_debug_cc_o) $(SnippetCustomProfiler_debug_c_o)
SnippetCustomProfiler_debug_bin := ./../../../Bin/linux32/SnippetCustomProfilerDEBUG
clean_SnippetCustomProfiler_debug:
@$(ECHO) clean SnippetCustomProfiler debug
@$(RMDIR) $(SnippetCustomProfiler_debug_objsdir)
@$(RMDIR) $(SnippetCustomProfiler_debug_bin)
@$(RMDIR) $(DEPSDIR)/SnippetCustomProfiler/debug
build_SnippetCustomProfiler_debug: postbuild_SnippetCustomProfiler_debug
postbuild_SnippetCustomProfiler_debug: mainbuild_SnippetCustomProfiler_debug
@cp -u "../../../../PxShared/bin/linux32/libPxFoundationDEBUG_x86.so" "../../../Bin/linux32/libPxFoundationDEBUG_x86.so"; cp -u "../../../../PxShared/bin/linux32/libPxPvdSDKDEBUG_x86.so" "../../../Bin/linux32/libPxPvdSDKDEBUG_x86.so"
mainbuild_SnippetCustomProfiler_debug: prebuild_SnippetCustomProfiler_debug $(SnippetCustomProfiler_debug_bin)
prebuild_SnippetCustomProfiler_debug:
$(SnippetCustomProfiler_debug_bin): $(SnippetCustomProfiler_debug_obj) build_SnippetRender_debug build_SnippetUtils_debug
mkdir -p `dirname ./../../../Bin/linux32/SnippetCustomProfilerDEBUG`
$(CCLD) $(SnippetCustomProfiler_debug_obj) $(SnippetCustomProfiler_debug_lflags) -o $(SnippetCustomProfiler_debug_bin)
$(ECHO) building $@ complete!
SnippetCustomProfiler_debug_DEPDIR = $(dir $(@))/$(*F)
$(SnippetCustomProfiler_debug_cpp_o): $(SnippetCustomProfiler_debug_objsdir)/%.o:
$(ECHO) SnippetCustomProfiler: compiling debug $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))...
mkdir -p $(dir $(@))
$(CXX) $(SnippetCustomProfiler_debug_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles)) -o $@
@mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))))
cp $(SnippetCustomProfiler_debug_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \
rm -f $(SnippetCustomProfiler_debug_DEPDIR).d
$(SnippetCustomProfiler_debug_cc_o): $(SnippetCustomProfiler_debug_objsdir)/%.o:
$(ECHO) SnippetCustomProfiler: compiling debug $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))...
mkdir -p $(dir $(@))
$(CXX) $(SnippetCustomProfiler_debug_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles)) -o $@
mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))))
cp $(SnippetCustomProfiler_debug_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).debug.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).debug.P; \
rm -f $(SnippetCustomProfiler_debug_DEPDIR).d
$(SnippetCustomProfiler_debug_c_o): $(SnippetCustomProfiler_debug_objsdir)/%.o:
$(ECHO) SnippetCustomProfiler: compiling debug $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))...
mkdir -p $(dir $(@))
$(CC) $(SnippetCustomProfiler_debug_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cfiles)) -o $@
@mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))))
cp $(SnippetCustomProfiler_debug_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \
rm -f $(SnippetCustomProfiler_debug_DEPDIR).d
SnippetCustomProfiler_checked_hpaths :=
SnippetCustomProfiler_checked_hpaths += ./../../../Include
SnippetCustomProfiler_checked_hpaths += ./../../../../PxShared/include
SnippetCustomProfiler_checked_hpaths += ./../../../../PxShared/src/foundation/include
SnippetCustomProfiler_checked_hpaths += ./../../../../PxShared/src/fastxml/include
SnippetCustomProfiler_checked_lpaths :=
SnippetCustomProfiler_checked_lpaths += ./../../../Lib/linux32
SnippetCustomProfiler_checked_lpaths += ./../../lib/linux32
SnippetCustomProfiler_checked_lpaths += ./../../../Bin/linux32
SnippetCustomProfiler_checked_lpaths += ./../../../../PxShared/lib/linux32
SnippetCustomProfiler_checked_lpaths += ./../../../../PxShared/bin/linux32
SnippetCustomProfiler_checked_lpaths += ./../../lib/linux32
SnippetCustomProfiler_checked_defines := $(SnippetCustomProfiler_custom_defines)
SnippetCustomProfiler_checked_defines += PHYSX_PROFILE_SDK
SnippetCustomProfiler_checked_defines += RENDER_SNIPPET
SnippetCustomProfiler_checked_defines += NDEBUG
SnippetCustomProfiler_checked_defines += PX_CHECKED=1
SnippetCustomProfiler_checked_defines += PX_SUPPORT_PVD=1
SnippetCustomProfiler_checked_libraries :=
SnippetCustomProfiler_checked_libraries += SnippetRenderCHECKED
SnippetCustomProfiler_checked_libraries += SnippetUtilsCHECKED
SnippetCustomProfiler_checked_libraries += PhysX3CHECKED_x86
SnippetCustomProfiler_checked_libraries += PhysX3CookingCHECKED_x86
SnippetCustomProfiler_checked_libraries += PhysX3CharacterKinematicCHECKED_x86
SnippetCustomProfiler_checked_libraries += PhysX3ExtensionsCHECKED
SnippetCustomProfiler_checked_libraries += PhysX3VehicleCHECKED
SnippetCustomProfiler_checked_libraries += PxPvdSDKCHECKED_x86
SnippetCustomProfiler_checked_libraries += PhysX3CommonCHECKED_x86
SnippetCustomProfiler_checked_libraries += PxFoundationCHECKED_x86
SnippetCustomProfiler_checked_libraries += PxTaskCHECKED
SnippetCustomProfiler_checked_libraries += PsFastXmlCHECKED
SnippetCustomProfiler_checked_libraries += SnippetUtilsCHECKED
SnippetCustomProfiler_checked_libraries += SnippetRenderCHECKED
SnippetCustomProfiler_checked_libraries += GL
SnippetCustomProfiler_checked_libraries += GLU
SnippetCustomProfiler_checked_libraries += glut
SnippetCustomProfiler_checked_libraries += X11
SnippetCustomProfiler_checked_libraries += rt
SnippetCustomProfiler_checked_libraries += pthread
SnippetCustomProfiler_checked_common_cflags := $(SnippetCustomProfiler_custom_cflags)
SnippetCustomProfiler_checked_common_cflags += -MMD
SnippetCustomProfiler_checked_common_cflags += $(addprefix -D, $(SnippetCustomProfiler_checked_defines))
SnippetCustomProfiler_checked_common_cflags += $(addprefix -I, $(SnippetCustomProfiler_checked_hpaths))
SnippetCustomProfiler_checked_common_cflags += -m32
SnippetCustomProfiler_checked_common_cflags += -Werror -m32 -fPIC -msse2 -mfpmath=sse -malign-double -fno-exceptions -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden
SnippetCustomProfiler_checked_common_cflags += -Wall -Wextra -Wstrict-aliasing=2 -fdiagnostics-show-option
SnippetCustomProfiler_checked_common_cflags += -Wno-uninitialized
SnippetCustomProfiler_checked_common_cflags += -g3 -gdwarf-2 -O3 -fno-strict-aliasing
SnippetCustomProfiler_checked_cflags := $(SnippetCustomProfiler_checked_common_cflags)
SnippetCustomProfiler_checked_cppflags := $(SnippetCustomProfiler_checked_common_cflags)
SnippetCustomProfiler_checked_lflags := $(SnippetCustomProfiler_custom_lflags)
SnippetCustomProfiler_checked_lflags += $(addprefix -L, $(SnippetCustomProfiler_checked_lpaths))
SnippetCustomProfiler_checked_lflags += -Wl,--start-group $(addprefix -l, $(SnippetCustomProfiler_checked_libraries)) -Wl,--end-group
SnippetCustomProfiler_checked_lflags += -lrt
SnippetCustomProfiler_checked_lflags += -Wl,-rpath ./
SnippetCustomProfiler_checked_lflags += -m32
SnippetCustomProfiler_checked_objsdir = $(OBJS_DIR)/SnippetCustomProfiler_checked
SnippetCustomProfiler_checked_cpp_o = $(addprefix $(SnippetCustomProfiler_checked_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(SnippetCustomProfiler_cppfiles)))))
SnippetCustomProfiler_checked_cc_o = $(addprefix $(SnippetCustomProfiler_checked_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(SnippetCustomProfiler_ccfiles)))))
SnippetCustomProfiler_checked_c_o = $(addprefix $(SnippetCustomProfiler_checked_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(SnippetCustomProfiler_cfiles)))))
SnippetCustomProfiler_checked_obj = $(SnippetCustomProfiler_checked_cpp_o) $(SnippetCustomProfiler_checked_cc_o) $(SnippetCustomProfiler_checked_c_o)
SnippetCustomProfiler_checked_bin := ./../../../Bin/linux32/SnippetCustomProfilerCHECKED
clean_SnippetCustomProfiler_checked:
@$(ECHO) clean SnippetCustomProfiler checked
@$(RMDIR) $(SnippetCustomProfiler_checked_objsdir)
@$(RMDIR) $(SnippetCustomProfiler_checked_bin)
@$(RMDIR) $(DEPSDIR)/SnippetCustomProfiler/checked
build_SnippetCustomProfiler_checked: postbuild_SnippetCustomProfiler_checked
postbuild_SnippetCustomProfiler_checked: mainbuild_SnippetCustomProfiler_checked
@cp -u "../../../../PxShared/bin/linux32/libPxFoundationCHECKED_x86.so" "../../../Bin/linux32/libPxFoundationCHECKED_x86.so"; cp -u "../../../../PxShared/bin/linux32/libPxPvdSDKCHECKED_x86.so" "../../../Bin/linux32/libPxPvdSDKCHECKED_x86.so"
mainbuild_SnippetCustomProfiler_checked: prebuild_SnippetCustomProfiler_checked $(SnippetCustomProfiler_checked_bin)
prebuild_SnippetCustomProfiler_checked:
$(SnippetCustomProfiler_checked_bin): $(SnippetCustomProfiler_checked_obj) build_SnippetRender_checked build_SnippetUtils_checked
mkdir -p `dirname ./../../../Bin/linux32/SnippetCustomProfilerCHECKED`
$(CCLD) $(SnippetCustomProfiler_checked_obj) $(SnippetCustomProfiler_checked_lflags) -o $(SnippetCustomProfiler_checked_bin)
$(ECHO) building $@ complete!
SnippetCustomProfiler_checked_DEPDIR = $(dir $(@))/$(*F)
$(SnippetCustomProfiler_checked_cpp_o): $(SnippetCustomProfiler_checked_objsdir)/%.o:
$(ECHO) SnippetCustomProfiler: compiling checked $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))...
mkdir -p $(dir $(@))
$(CXX) $(SnippetCustomProfiler_checked_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles)) -o $@
@mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))))
cp $(SnippetCustomProfiler_checked_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_checked_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \
rm -f $(SnippetCustomProfiler_checked_DEPDIR).d
$(SnippetCustomProfiler_checked_cc_o): $(SnippetCustomProfiler_checked_objsdir)/%.o:
$(ECHO) SnippetCustomProfiler: compiling checked $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))...
mkdir -p $(dir $(@))
$(CXX) $(SnippetCustomProfiler_checked_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles)) -o $@
mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))))
cp $(SnippetCustomProfiler_checked_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).checked.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_checked_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).checked.P; \
rm -f $(SnippetCustomProfiler_checked_DEPDIR).d
$(SnippetCustomProfiler_checked_c_o): $(SnippetCustomProfiler_checked_objsdir)/%.o:
$(ECHO) SnippetCustomProfiler: compiling checked $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))...
mkdir -p $(dir $(@))
$(CC) $(SnippetCustomProfiler_checked_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cfiles)) -o $@
@mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))))
cp $(SnippetCustomProfiler_checked_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_checked_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \
rm -f $(SnippetCustomProfiler_checked_DEPDIR).d
SnippetCustomProfiler_profile_hpaths :=
SnippetCustomProfiler_profile_hpaths += ./../../../Include
SnippetCustomProfiler_profile_hpaths += ./../../../../PxShared/include
SnippetCustomProfiler_profile_hpaths += ./../../../../PxShared/src/foundation/include
SnippetCustomProfiler_profile_hpaths += ./../../../../PxShared/src/fastxml/include
SnippetCustomProfiler_profile_lpaths :=
SnippetCustomProfiler_profile_lpaths += ./../../../Lib/linux32
SnippetCustomProfiler_profile_lpaths += ./../../lib/linux32
SnippetCustomProfiler_profile_lpaths += ./../../../Bin/linux32
SnippetCustomProfiler_profile_lpaths += ./../../../../PxShared/lib/linux32
SnippetCustomProfiler_profile_lpaths += ./../../../../PxShared/bin/linux32
SnippetCustomProfiler_profile_lpaths += ./../../lib/linux32
SnippetCustomProfiler_profile_defines := $(SnippetCustomProfiler_custom_defines)
SnippetCustomProfiler_profile_defines += PHYSX_PROFILE_SDK
SnippetCustomProfiler_profile_defines += RENDER_SNIPPET
SnippetCustomProfiler_profile_defines += NDEBUG
SnippetCustomProfiler_profile_defines += PX_PROFILE=1
SnippetCustomProfiler_profile_defines += PX_SUPPORT_PVD=1
SnippetCustomProfiler_profile_libraries :=
SnippetCustomProfiler_profile_libraries += SnippetRenderPROFILE
SnippetCustomProfiler_profile_libraries += SnippetUtilsPROFILE
SnippetCustomProfiler_profile_libraries += PhysX3PROFILE_x86
SnippetCustomProfiler_profile_libraries += PhysX3CookingPROFILE_x86
SnippetCustomProfiler_profile_libraries += PhysX3CharacterKinematicPROFILE_x86
SnippetCustomProfiler_profile_libraries += PhysX3ExtensionsPROFILE
SnippetCustomProfiler_profile_libraries += PhysX3VehiclePROFILE
SnippetCustomProfiler_profile_libraries += PxPvdSDKPROFILE_x86
SnippetCustomProfiler_profile_libraries += PhysX3CommonPROFILE_x86
SnippetCustomProfiler_profile_libraries += PxFoundationPROFILE_x86
SnippetCustomProfiler_profile_libraries += PxTaskPROFILE
SnippetCustomProfiler_profile_libraries += PsFastXmlPROFILE
SnippetCustomProfiler_profile_libraries += SnippetUtilsPROFILE
SnippetCustomProfiler_profile_libraries += SnippetRenderPROFILE
SnippetCustomProfiler_profile_libraries += GL
SnippetCustomProfiler_profile_libraries += GLU
SnippetCustomProfiler_profile_libraries += glut
SnippetCustomProfiler_profile_libraries += X11
SnippetCustomProfiler_profile_libraries += rt
SnippetCustomProfiler_profile_libraries += pthread
SnippetCustomProfiler_profile_common_cflags := $(SnippetCustomProfiler_custom_cflags)
SnippetCustomProfiler_profile_common_cflags += -MMD
SnippetCustomProfiler_profile_common_cflags += $(addprefix -D, $(SnippetCustomProfiler_profile_defines))
SnippetCustomProfiler_profile_common_cflags += $(addprefix -I, $(SnippetCustomProfiler_profile_hpaths))
SnippetCustomProfiler_profile_common_cflags += -m32
SnippetCustomProfiler_profile_common_cflags += -Werror -m32 -fPIC -msse2 -mfpmath=sse -malign-double -fno-exceptions -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden
SnippetCustomProfiler_profile_common_cflags += -Wall -Wextra -Wstrict-aliasing=2 -fdiagnostics-show-option
SnippetCustomProfiler_profile_common_cflags += -Wno-uninitialized
SnippetCustomProfiler_profile_common_cflags += -O3 -fno-strict-aliasing
SnippetCustomProfiler_profile_cflags := $(SnippetCustomProfiler_profile_common_cflags)
SnippetCustomProfiler_profile_cppflags := $(SnippetCustomProfiler_profile_common_cflags)
SnippetCustomProfiler_profile_lflags := $(SnippetCustomProfiler_custom_lflags)
SnippetCustomProfiler_profile_lflags += $(addprefix -L, $(SnippetCustomProfiler_profile_lpaths))
SnippetCustomProfiler_profile_lflags += -Wl,--start-group $(addprefix -l, $(SnippetCustomProfiler_profile_libraries)) -Wl,--end-group
SnippetCustomProfiler_profile_lflags += -lrt
SnippetCustomProfiler_profile_lflags += -Wl,-rpath ./
SnippetCustomProfiler_profile_lflags += -m32
SnippetCustomProfiler_profile_objsdir = $(OBJS_DIR)/SnippetCustomProfiler_profile
SnippetCustomProfiler_profile_cpp_o = $(addprefix $(SnippetCustomProfiler_profile_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(SnippetCustomProfiler_cppfiles)))))
SnippetCustomProfiler_profile_cc_o = $(addprefix $(SnippetCustomProfiler_profile_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(SnippetCustomProfiler_ccfiles)))))
SnippetCustomProfiler_profile_c_o = $(addprefix $(SnippetCustomProfiler_profile_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(SnippetCustomProfiler_cfiles)))))
SnippetCustomProfiler_profile_obj = $(SnippetCustomProfiler_profile_cpp_o) $(SnippetCustomProfiler_profile_cc_o) $(SnippetCustomProfiler_profile_c_o)
SnippetCustomProfiler_profile_bin := ./../../../Bin/linux32/SnippetCustomProfilerPROFILE
clean_SnippetCustomProfiler_profile:
@$(ECHO) clean SnippetCustomProfiler profile
@$(RMDIR) $(SnippetCustomProfiler_profile_objsdir)
@$(RMDIR) $(SnippetCustomProfiler_profile_bin)
@$(RMDIR) $(DEPSDIR)/SnippetCustomProfiler/profile
build_SnippetCustomProfiler_profile: postbuild_SnippetCustomProfiler_profile
postbuild_SnippetCustomProfiler_profile: mainbuild_SnippetCustomProfiler_profile
@cp -u "../../../../PxShared/bin/linux32/libPxFoundationPROFILE_x86.so" "../../../Bin/linux32/libPxFoundationPROFILE_x86.so"; cp -u "../../../../PxShared/bin/linux32/libPxPvdSDKPROFILE_x86.so" "../../../Bin/linux32/libPxPvdSDKPROFILE_x86.so"
mainbuild_SnippetCustomProfiler_profile: prebuild_SnippetCustomProfiler_profile $(SnippetCustomProfiler_profile_bin)
prebuild_SnippetCustomProfiler_profile:
$(SnippetCustomProfiler_profile_bin): $(SnippetCustomProfiler_profile_obj) build_SnippetRender_profile build_SnippetUtils_profile
mkdir -p `dirname ./../../../Bin/linux32/SnippetCustomProfilerPROFILE`
$(CCLD) $(SnippetCustomProfiler_profile_obj) $(SnippetCustomProfiler_profile_lflags) -o $(SnippetCustomProfiler_profile_bin)
$(ECHO) building $@ complete!
SnippetCustomProfiler_profile_DEPDIR = $(dir $(@))/$(*F)
$(SnippetCustomProfiler_profile_cpp_o): $(SnippetCustomProfiler_profile_objsdir)/%.o:
$(ECHO) SnippetCustomProfiler: compiling profile $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))...
mkdir -p $(dir $(@))
$(CXX) $(SnippetCustomProfiler_profile_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles)) -o $@
@mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))))
cp $(SnippetCustomProfiler_profile_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_profile_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \
rm -f $(SnippetCustomProfiler_profile_DEPDIR).d
$(SnippetCustomProfiler_profile_cc_o): $(SnippetCustomProfiler_profile_objsdir)/%.o:
$(ECHO) SnippetCustomProfiler: compiling profile $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))...
mkdir -p $(dir $(@))
$(CXX) $(SnippetCustomProfiler_profile_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles)) -o $@
mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))))
cp $(SnippetCustomProfiler_profile_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).profile.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_profile_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).profile.P; \
rm -f $(SnippetCustomProfiler_profile_DEPDIR).d
$(SnippetCustomProfiler_profile_c_o): $(SnippetCustomProfiler_profile_objsdir)/%.o:
$(ECHO) SnippetCustomProfiler: compiling profile $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))...
mkdir -p $(dir $(@))
$(CC) $(SnippetCustomProfiler_profile_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cfiles)) -o $@
@mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))))
cp $(SnippetCustomProfiler_profile_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_profile_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \
rm -f $(SnippetCustomProfiler_profile_DEPDIR).d
SnippetCustomProfiler_release_hpaths :=
SnippetCustomProfiler_release_hpaths += ./../../../Include
SnippetCustomProfiler_release_hpaths += ./../../../../PxShared/include
SnippetCustomProfiler_release_hpaths += ./../../../../PxShared/src/foundation/include
SnippetCustomProfiler_release_hpaths += ./../../../../PxShared/src/fastxml/include
SnippetCustomProfiler_release_lpaths :=
SnippetCustomProfiler_release_lpaths += ./../../../Lib/linux32
SnippetCustomProfiler_release_lpaths += ./../../lib/linux32
SnippetCustomProfiler_release_lpaths += ./../../../Bin/linux32
SnippetCustomProfiler_release_lpaths += ./../../../../PxShared/lib/linux32
SnippetCustomProfiler_release_lpaths += ./../../../../PxShared/bin/linux32
SnippetCustomProfiler_release_lpaths += ./../../lib/linux32
SnippetCustomProfiler_release_defines := $(SnippetCustomProfiler_custom_defines)
SnippetCustomProfiler_release_defines += PHYSX_PROFILE_SDK
SnippetCustomProfiler_release_defines += RENDER_SNIPPET
SnippetCustomProfiler_release_defines += NDEBUG
SnippetCustomProfiler_release_defines += PX_SUPPORT_PVD=0
SnippetCustomProfiler_release_libraries :=
SnippetCustomProfiler_release_libraries += SnippetRender
SnippetCustomProfiler_release_libraries += SnippetUtils
SnippetCustomProfiler_release_libraries += PhysX3_x86
SnippetCustomProfiler_release_libraries += PhysX3Cooking_x86
SnippetCustomProfiler_release_libraries += PhysX3CharacterKinematic_x86
SnippetCustomProfiler_release_libraries += PhysX3Extensions
SnippetCustomProfiler_release_libraries += PhysX3Vehicle
SnippetCustomProfiler_release_libraries += PxPvdSDK_x86
SnippetCustomProfiler_release_libraries += PhysX3Common_x86
SnippetCustomProfiler_release_libraries += PxFoundation_x86
SnippetCustomProfiler_release_libraries += PxTask
SnippetCustomProfiler_release_libraries += PsFastXml
SnippetCustomProfiler_release_libraries += SnippetUtils
SnippetCustomProfiler_release_libraries += SnippetRender
SnippetCustomProfiler_release_libraries += GL
SnippetCustomProfiler_release_libraries += GLU
SnippetCustomProfiler_release_libraries += glut
SnippetCustomProfiler_release_libraries += X11
SnippetCustomProfiler_release_libraries += rt
SnippetCustomProfiler_release_libraries += pthread
SnippetCustomProfiler_release_common_cflags := $(SnippetCustomProfiler_custom_cflags)
SnippetCustomProfiler_release_common_cflags += -MMD
SnippetCustomProfiler_release_common_cflags += $(addprefix -D, $(SnippetCustomProfiler_release_defines))
SnippetCustomProfiler_release_common_cflags += $(addprefix -I, $(SnippetCustomProfiler_release_hpaths))
SnippetCustomProfiler_release_common_cflags += -m32
SnippetCustomProfiler_release_common_cflags += -Werror -m32 -fPIC -msse2 -mfpmath=sse -malign-double -fno-exceptions -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden
SnippetCustomProfiler_release_common_cflags += -Wall -Wextra -Wstrict-aliasing=2 -fdiagnostics-show-option
SnippetCustomProfiler_release_common_cflags += -Wno-uninitialized
SnippetCustomProfiler_release_common_cflags += -O3 -fno-strict-aliasing
SnippetCustomProfiler_release_cflags := $(SnippetCustomProfiler_release_common_cflags)
SnippetCustomProfiler_release_cppflags := $(SnippetCustomProfiler_release_common_cflags)
SnippetCustomProfiler_release_lflags := $(SnippetCustomProfiler_custom_lflags)
SnippetCustomProfiler_release_lflags += $(addprefix -L, $(SnippetCustomProfiler_release_lpaths))
SnippetCustomProfiler_release_lflags += -Wl,--start-group $(addprefix -l, $(SnippetCustomProfiler_release_libraries)) -Wl,--end-group
SnippetCustomProfiler_release_lflags += -lrt
SnippetCustomProfiler_release_lflags += -Wl,-rpath ./
SnippetCustomProfiler_release_lflags += -m32
SnippetCustomProfiler_release_objsdir = $(OBJS_DIR)/SnippetCustomProfiler_release
SnippetCustomProfiler_release_cpp_o = $(addprefix $(SnippetCustomProfiler_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(SnippetCustomProfiler_cppfiles)))))
SnippetCustomProfiler_release_cc_o = $(addprefix $(SnippetCustomProfiler_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(SnippetCustomProfiler_ccfiles)))))
SnippetCustomProfiler_release_c_o = $(addprefix $(SnippetCustomProfiler_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(SnippetCustomProfiler_cfiles)))))
SnippetCustomProfiler_release_obj = $(SnippetCustomProfiler_release_cpp_o) $(SnippetCustomProfiler_release_cc_o) $(SnippetCustomProfiler_release_c_o)
SnippetCustomProfiler_release_bin := ./../../../Bin/linux32/SnippetCustomProfiler
clean_SnippetCustomProfiler_release:
@$(ECHO) clean SnippetCustomProfiler release
@$(RMDIR) $(SnippetCustomProfiler_release_objsdir)
@$(RMDIR) $(SnippetCustomProfiler_release_bin)
@$(RMDIR) $(DEPSDIR)/SnippetCustomProfiler/release
build_SnippetCustomProfiler_release: postbuild_SnippetCustomProfiler_release
postbuild_SnippetCustomProfiler_release: mainbuild_SnippetCustomProfiler_release
@cp -u "../../../../PxShared/bin/linux32/libPxFoundation_x86.so" "../../../Bin/linux32/libPxFoundation_x86.so"; cp -u "../../../../PxShared/bin/linux32/libPxPvdSDK_x86.so" "../../../Bin/linux32/libPxPvdSDK_x86.so"
mainbuild_SnippetCustomProfiler_release: prebuild_SnippetCustomProfiler_release $(SnippetCustomProfiler_release_bin)
prebuild_SnippetCustomProfiler_release:
$(SnippetCustomProfiler_release_bin): $(SnippetCustomProfiler_release_obj) build_SnippetRender_release build_SnippetUtils_release
mkdir -p `dirname ./../../../Bin/linux32/SnippetCustomProfiler`
$(CCLD) $(SnippetCustomProfiler_release_obj) $(SnippetCustomProfiler_release_lflags) -o $(SnippetCustomProfiler_release_bin)
$(ECHO) building $@ complete!
SnippetCustomProfiler_release_DEPDIR = $(dir $(@))/$(*F)
$(SnippetCustomProfiler_release_cpp_o): $(SnippetCustomProfiler_release_objsdir)/%.o:
$(ECHO) SnippetCustomProfiler: compiling release $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))...
mkdir -p $(dir $(@))
$(CXX) $(SnippetCustomProfiler_release_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles)) -o $@
@mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))))
cp $(SnippetCustomProfiler_release_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \
rm -f $(SnippetCustomProfiler_release_DEPDIR).d
$(SnippetCustomProfiler_release_cc_o): $(SnippetCustomProfiler_release_objsdir)/%.o:
$(ECHO) SnippetCustomProfiler: compiling release $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))...
mkdir -p $(dir $(@))
$(CXX) $(SnippetCustomProfiler_release_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles)) -o $@
mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))))
cp $(SnippetCustomProfiler_release_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).release.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).release.P; \
rm -f $(SnippetCustomProfiler_release_DEPDIR).d
$(SnippetCustomProfiler_release_c_o): $(SnippetCustomProfiler_release_objsdir)/%.o:
$(ECHO) SnippetCustomProfiler: compiling release $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))...
mkdir -p $(dir $(@))
$(CC) $(SnippetCustomProfiler_release_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cfiles)) -o $@
@mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))))
cp $(SnippetCustomProfiler_release_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \
rm -f $(SnippetCustomProfiler_release_DEPDIR).d
clean_SnippetCustomProfiler: clean_SnippetCustomProfiler_debug clean_SnippetCustomProfiler_checked clean_SnippetCustomProfiler_profile clean_SnippetCustomProfiler_release
rm -rf $(DEPSDIR)
export VERBOSE
ifndef VERBOSE
.SILENT:
endif
|