aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/compiler/linux64/Makefile.PhysXCooking.mk
blob: 6eb151020466bd6cdb96c6a77885214e8b517212 (plain) (blame)
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
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
# Makefile generated by XPJ for LINUX64
-include Makefile.custom
ProjectName = PhysXCooking
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/Adjacencies.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/Cooking.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/CookingUtils.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/EdgeList.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/MeshCleaner.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/Quantizer.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/mesh/GrbTriangleMeshCooking.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/mesh/HeightFieldCooking.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/mesh/RTreeCooking.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/mesh/TriangleMeshBuilder.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/convex/BigConvexDataBuilder.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/convex/ConvexHullBuilder.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/convex/ConvexHullLib.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/convex/ConvexHullUtils.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/convex/ConvexMeshBuilder.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/convex/ConvexPolygonsBuilder.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/convex/InflationConvexHullLib.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/convex/QuickHullConvexHullLib.cpp
PhysXCooking_cppfiles   += ./../../PhysXCooking/src/convex/VolumeIntegration.cpp

PhysXCooking_cpp_release_dep    = $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(PhysXCooking_cppfiles)))))
PhysXCooking_cc_release_dep    = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.release.P, $(PhysXCooking_ccfiles)))))
PhysXCooking_c_release_dep      = $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(PhysXCooking_cfiles)))))
PhysXCooking_release_dep      = $(PhysXCooking_cpp_release_dep) $(PhysXCooking_cc_release_dep) $(PhysXCooking_c_release_dep)
-include $(PhysXCooking_release_dep)
PhysXCooking_cpp_debug_dep    = $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(PhysXCooking_cppfiles)))))
PhysXCooking_cc_debug_dep    = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.debug.P, $(PhysXCooking_ccfiles)))))
PhysXCooking_c_debug_dep      = $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(PhysXCooking_cfiles)))))
PhysXCooking_debug_dep      = $(PhysXCooking_cpp_debug_dep) $(PhysXCooking_cc_debug_dep) $(PhysXCooking_c_debug_dep)
-include $(PhysXCooking_debug_dep)
PhysXCooking_cpp_checked_dep    = $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(PhysXCooking_cppfiles)))))
PhysXCooking_cc_checked_dep    = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.checked.P, $(PhysXCooking_ccfiles)))))
PhysXCooking_c_checked_dep      = $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(PhysXCooking_cfiles)))))
PhysXCooking_checked_dep      = $(PhysXCooking_cpp_checked_dep) $(PhysXCooking_cc_checked_dep) $(PhysXCooking_c_checked_dep)
-include $(PhysXCooking_checked_dep)
PhysXCooking_cpp_profile_dep    = $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(PhysXCooking_cppfiles)))))
PhysXCooking_cc_profile_dep    = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.profile.P, $(PhysXCooking_ccfiles)))))
PhysXCooking_c_profile_dep      = $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(PhysXCooking_cfiles)))))
PhysXCooking_profile_dep      = $(PhysXCooking_cpp_profile_dep) $(PhysXCooking_cc_profile_dep) $(PhysXCooking_c_profile_dep)
-include $(PhysXCooking_profile_dep)
PhysXCooking_release_hpaths    := 
PhysXCooking_release_hpaths    += ./../../Common/include
PhysXCooking_release_hpaths    += ./../../../../PxShared/include
PhysXCooking_release_hpaths    += ./../../../../PxShared/src/foundation/include
PhysXCooking_release_hpaths    += ./../../../../PxShared/src/fastxml/include
PhysXCooking_release_hpaths    += ./../../../../PxShared/src/pvd/include
PhysXCooking_release_hpaths    += ./../../../Include/common
PhysXCooking_release_hpaths    += ./../../../Include/geometry
PhysXCooking_release_hpaths    += ./../../../Include/GeomUtils
PhysXCooking_release_hpaths    += ./../../../Include/cloth
PhysXCooking_release_hpaths    += ./../../../Include/cooking
PhysXCooking_release_hpaths    += ./../../../Include
PhysXCooking_release_hpaths    += ./../../Common/src
PhysXCooking_release_hpaths    += ./../../GeomUtils/headers
PhysXCooking_release_hpaths    += ./../../GeomUtils/src
PhysXCooking_release_hpaths    += ./../../GeomUtils/src/contact
PhysXCooking_release_hpaths    += ./../../GeomUtils/src/common
PhysXCooking_release_hpaths    += ./../../GeomUtils/src/convex
PhysXCooking_release_hpaths    += ./../../GeomUtils/src/distance
PhysXCooking_release_hpaths    += ./../../GeomUtils/src/sweep
PhysXCooking_release_hpaths    += ./../../GeomUtils/src/gjk
PhysXCooking_release_hpaths    += ./../../GeomUtils/src/intersection
PhysXCooking_release_hpaths    += ./../../GeomUtils/src/mesh
PhysXCooking_release_hpaths    += ./../../GeomUtils/src/hf
PhysXCooking_release_hpaths    += ./../../GeomUtils/src/pcm
PhysXCooking_release_hpaths    += ./../../GeomUtils/src/ccd
PhysXCooking_release_hpaths    += ./../../PhysXCooking/src
PhysXCooking_release_hpaths    += ./../../PhysXCooking/src/mesh
PhysXCooking_release_hpaths    += ./../../PhysXCooking/src/convex
PhysXCooking_release_hpaths    += ./../../PhysXExtensions/src
PhysXCooking_release_hpaths    += ./../../PhysXGpu/include
PhysXCooking_release_lpaths    := 
PhysXCooking_release_lpaths    += ./../../../Bin/linux64
PhysXCooking_release_lpaths    += ./../../../Lib/linux64
PhysXCooking_release_lpaths    += ./../../../../PxShared/bin/linux64
PhysXCooking_release_defines   := $(PhysXCooking_custom_defines)
PhysXCooking_release_defines   += PX_PHYSX_LOADER_EXPORTS
PhysXCooking_release_defines   += PX_PHYSX_COOKING_EXPORTS
PhysXCooking_release_defines   += PX_PHYSX_CORE_EXPORTS
PhysXCooking_release_defines   += PX_COOKING
PhysXCooking_release_defines   += NDEBUG
PhysXCooking_release_defines   += PX_SUPPORT_PVD=0
PhysXCooking_release_libraries := 
PhysXCooking_release_libraries += PhysX3Common_x64
PhysXCooking_release_libraries += PhysX3Extensions
PhysXCooking_release_libraries += PxFoundation_x64
PhysXCooking_release_common_cflags	:= $(PhysXCooking_custom_cflags)
PhysXCooking_release_common_cflags    += -MMD
PhysXCooking_release_common_cflags    += $(addprefix -D, $(PhysXCooking_release_defines))
PhysXCooking_release_common_cflags    += $(addprefix -I, $(PhysXCooking_release_hpaths))
PhysXCooking_release_common_cflags  += -m64
PhysXCooking_release_common_cflags  += -Werror -m64 -fPIC -msse2 -mfpmath=sse -fno-exceptions -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden
PhysXCooking_release_common_cflags  += -Wall -Wextra -Wstrict-aliasing=2 -fdiagnostics-show-option
PhysXCooking_release_common_cflags  += -Wno-invalid-offsetof -Wno-uninitialized -Wno-implicit-fallthrough
PhysXCooking_release_common_cflags  += -Wno-missing-field-initializers
PhysXCooking_release_common_cflags  += -O3 -fno-strict-aliasing
PhysXCooking_release_cflags	:= $(PhysXCooking_release_common_cflags)
PhysXCooking_release_cppflags	:= $(PhysXCooking_release_common_cflags)
PhysXCooking_release_lflags    := $(PhysXCooking_custom_lflags)
PhysXCooking_release_lflags    += $(addprefix -L, $(PhysXCooking_release_lpaths))
PhysXCooking_release_lflags    += -Wl,--start-group $(addprefix -l, $(PhysXCooking_release_libraries)) -Wl,--end-group
PhysXCooking_release_lflags  += -lrt
PhysXCooking_release_lflags  += -m64
PhysXCooking_release_objsdir  = $(OBJS_DIR)/PhysXCooking_release
PhysXCooking_release_cpp_o    = $(addprefix $(PhysXCooking_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(PhysXCooking_cppfiles)))))
PhysXCooking_release_cc_o    = $(addprefix $(PhysXCooking_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(PhysXCooking_ccfiles)))))
PhysXCooking_release_c_o      = $(addprefix $(PhysXCooking_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(PhysXCooking_cfiles)))))
PhysXCooking_release_obj      = $(PhysXCooking_release_cpp_o) $(PhysXCooking_release_cc_o) $(PhysXCooking_release_c_o)
PhysXCooking_release_bin      := ./../../../Bin/linux64/libPhysX3Cooking_x64.so

clean_PhysXCooking_release: 
	@$(ECHO) clean PhysXCooking release
	@$(RMDIR) $(PhysXCooking_release_objsdir)
	@$(RMDIR) $(PhysXCooking_release_bin)
	@$(RMDIR) $(DEPSDIR)/PhysXCooking/release

build_PhysXCooking_release: postbuild_PhysXCooking_release
postbuild_PhysXCooking_release: mainbuild_PhysXCooking_release
mainbuild_PhysXCooking_release: prebuild_PhysXCooking_release $(PhysXCooking_release_bin)
prebuild_PhysXCooking_release:

$(PhysXCooking_release_bin): $(PhysXCooking_release_obj) build_PhysXCommon_release build_PhysXExtensions_release build_PxFoundation_release 
	mkdir -p `dirname ./../../../Bin/linux64/libPhysX3Cooking_x64.so`
	$(CXX) -shared $(PhysXCooking_release_obj) $(PhysXCooking_release_lflags) -lc -o $@ 
	$(ECHO) building $@ complete!

PhysXCooking_release_DEPDIR = $(dir $(@))/$(*F)
$(PhysXCooking_release_cpp_o): $(PhysXCooking_release_objsdir)/%.o:
	$(ECHO) PhysXCooking: compiling release $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cppfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PhysXCooking_release_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cppfiles)) -o $@
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cppfiles))))))
	cp $(PhysXCooking_release_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \
	  rm -f $(PhysXCooking_release_DEPDIR).d

$(PhysXCooking_release_cc_o): $(PhysXCooking_release_objsdir)/%.o:
	$(ECHO) PhysXCooking: compiling release $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_ccfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PhysXCooking_release_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_ccfiles)) -o $@
	mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_ccfiles))))))
	cp $(PhysXCooking_release_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_ccfiles))))).release.P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_ccfiles))))).release.P; \
	  rm -f $(PhysXCooking_release_DEPDIR).d

$(PhysXCooking_release_c_o): $(PhysXCooking_release_objsdir)/%.o:
	$(ECHO) PhysXCooking: compiling release $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cfiles))...
	mkdir -p $(dir $(@))
	$(CC) $(PhysXCooking_release_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cfiles)) -o $@ 
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cfiles))))))
	cp $(PhysXCooking_release_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \
	  rm -f $(PhysXCooking_release_DEPDIR).d

PhysXCooking_debug_hpaths    := 
PhysXCooking_debug_hpaths    += ./../../Common/include
PhysXCooking_debug_hpaths    += ./../../../../PxShared/include
PhysXCooking_debug_hpaths    += ./../../../../PxShared/src/foundation/include
PhysXCooking_debug_hpaths    += ./../../../../PxShared/src/fastxml/include
PhysXCooking_debug_hpaths    += ./../../../../PxShared/src/pvd/include
PhysXCooking_debug_hpaths    += ./../../../Include/common
PhysXCooking_debug_hpaths    += ./../../../Include/geometry
PhysXCooking_debug_hpaths    += ./../../../Include/GeomUtils
PhysXCooking_debug_hpaths    += ./../../../Include/cloth
PhysXCooking_debug_hpaths    += ./../../../Include/cooking
PhysXCooking_debug_hpaths    += ./../../../Include
PhysXCooking_debug_hpaths    += ./../../Common/src
PhysXCooking_debug_hpaths    += ./../../GeomUtils/headers
PhysXCooking_debug_hpaths    += ./../../GeomUtils/src
PhysXCooking_debug_hpaths    += ./../../GeomUtils/src/contact
PhysXCooking_debug_hpaths    += ./../../GeomUtils/src/common
PhysXCooking_debug_hpaths    += ./../../GeomUtils/src/convex
PhysXCooking_debug_hpaths    += ./../../GeomUtils/src/distance
PhysXCooking_debug_hpaths    += ./../../GeomUtils/src/sweep
PhysXCooking_debug_hpaths    += ./../../GeomUtils/src/gjk
PhysXCooking_debug_hpaths    += ./../../GeomUtils/src/intersection
PhysXCooking_debug_hpaths    += ./../../GeomUtils/src/mesh
PhysXCooking_debug_hpaths    += ./../../GeomUtils/src/hf
PhysXCooking_debug_hpaths    += ./../../GeomUtils/src/pcm
PhysXCooking_debug_hpaths    += ./../../GeomUtils/src/ccd
PhysXCooking_debug_hpaths    += ./../../PhysXCooking/src
PhysXCooking_debug_hpaths    += ./../../PhysXCooking/src/mesh
PhysXCooking_debug_hpaths    += ./../../PhysXCooking/src/convex
PhysXCooking_debug_hpaths    += ./../../PhysXExtensions/src
PhysXCooking_debug_hpaths    += ./../../PhysXGpu/include
PhysXCooking_debug_lpaths    := 
PhysXCooking_debug_lpaths    += ./../../../Bin/linux64
PhysXCooking_debug_lpaths    += ./../../../Lib/linux64
PhysXCooking_debug_lpaths    += ./../../../../PxShared/bin/linux64
PhysXCooking_debug_defines   := $(PhysXCooking_custom_defines)
PhysXCooking_debug_defines   += PX_PHYSX_LOADER_EXPORTS
PhysXCooking_debug_defines   += PX_PHYSX_COOKING_EXPORTS
PhysXCooking_debug_defines   += PX_PHYSX_CORE_EXPORTS
PhysXCooking_debug_defines   += PX_COOKING
PhysXCooking_debug_defines   += _DEBUG
PhysXCooking_debug_defines   += PX_DEBUG=1
PhysXCooking_debug_defines   += PX_CHECKED=1
PhysXCooking_debug_defines   += PX_SUPPORT_PVD=1
PhysXCooking_debug_libraries := 
PhysXCooking_debug_libraries += PhysX3CommonDEBUG_x64
PhysXCooking_debug_libraries += PhysX3ExtensionsDEBUG
PhysXCooking_debug_libraries += PxFoundationDEBUG_x64
PhysXCooking_debug_common_cflags	:= $(PhysXCooking_custom_cflags)
PhysXCooking_debug_common_cflags    += -MMD
PhysXCooking_debug_common_cflags    += $(addprefix -D, $(PhysXCooking_debug_defines))
PhysXCooking_debug_common_cflags    += $(addprefix -I, $(PhysXCooking_debug_hpaths))
PhysXCooking_debug_common_cflags  += -m64
PhysXCooking_debug_common_cflags  += -Werror -m64 -fPIC -msse2 -mfpmath=sse -fno-exceptions -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden
PhysXCooking_debug_common_cflags  += -Wall -Wextra -Wstrict-aliasing=2 -fdiagnostics-show-option
PhysXCooking_debug_common_cflags  += -Wno-invalid-offsetof -Wno-uninitialized -Wno-implicit-fallthrough
PhysXCooking_debug_common_cflags  += -Wno-missing-field-initializers
PhysXCooking_debug_common_cflags  += -g3 -gdwarf-2
PhysXCooking_debug_cflags	:= $(PhysXCooking_debug_common_cflags)
PhysXCooking_debug_cppflags	:= $(PhysXCooking_debug_common_cflags)
PhysXCooking_debug_lflags    := $(PhysXCooking_custom_lflags)
PhysXCooking_debug_lflags    += $(addprefix -L, $(PhysXCooking_debug_lpaths))
PhysXCooking_debug_lflags    += -Wl,--start-group $(addprefix -l, $(PhysXCooking_debug_libraries)) -Wl,--end-group
PhysXCooking_debug_lflags  += -lrt
PhysXCooking_debug_lflags  += -m64
PhysXCooking_debug_objsdir  = $(OBJS_DIR)/PhysXCooking_debug
PhysXCooking_debug_cpp_o    = $(addprefix $(PhysXCooking_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(PhysXCooking_cppfiles)))))
PhysXCooking_debug_cc_o    = $(addprefix $(PhysXCooking_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(PhysXCooking_ccfiles)))))
PhysXCooking_debug_c_o      = $(addprefix $(PhysXCooking_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(PhysXCooking_cfiles)))))
PhysXCooking_debug_obj      = $(PhysXCooking_debug_cpp_o) $(PhysXCooking_debug_cc_o) $(PhysXCooking_debug_c_o)
PhysXCooking_debug_bin      := ./../../../Bin/linux64/libPhysX3CookingDEBUG_x64.so

clean_PhysXCooking_debug: 
	@$(ECHO) clean PhysXCooking debug
	@$(RMDIR) $(PhysXCooking_debug_objsdir)
	@$(RMDIR) $(PhysXCooking_debug_bin)
	@$(RMDIR) $(DEPSDIR)/PhysXCooking/debug

build_PhysXCooking_debug: postbuild_PhysXCooking_debug
postbuild_PhysXCooking_debug: mainbuild_PhysXCooking_debug
mainbuild_PhysXCooking_debug: prebuild_PhysXCooking_debug $(PhysXCooking_debug_bin)
prebuild_PhysXCooking_debug:

$(PhysXCooking_debug_bin): $(PhysXCooking_debug_obj) build_PhysXCommon_debug build_PhysXExtensions_debug build_PxFoundation_debug 
	mkdir -p `dirname ./../../../Bin/linux64/libPhysX3CookingDEBUG_x64.so`
	$(CXX) -shared $(PhysXCooking_debug_obj) $(PhysXCooking_debug_lflags) -lc -o $@ 
	$(ECHO) building $@ complete!

PhysXCooking_debug_DEPDIR = $(dir $(@))/$(*F)
$(PhysXCooking_debug_cpp_o): $(PhysXCooking_debug_objsdir)/%.o:
	$(ECHO) PhysXCooking: compiling debug $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cppfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PhysXCooking_debug_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cppfiles)) -o $@
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cppfiles))))))
	cp $(PhysXCooking_debug_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \
	  rm -f $(PhysXCooking_debug_DEPDIR).d

$(PhysXCooking_debug_cc_o): $(PhysXCooking_debug_objsdir)/%.o:
	$(ECHO) PhysXCooking: compiling debug $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_ccfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PhysXCooking_debug_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_ccfiles)) -o $@
	mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_ccfiles))))))
	cp $(PhysXCooking_debug_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_ccfiles))))).debug.P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_ccfiles))))).debug.P; \
	  rm -f $(PhysXCooking_debug_DEPDIR).d

$(PhysXCooking_debug_c_o): $(PhysXCooking_debug_objsdir)/%.o:
	$(ECHO) PhysXCooking: compiling debug $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cfiles))...
	mkdir -p $(dir $(@))
	$(CC) $(PhysXCooking_debug_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cfiles)) -o $@ 
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cfiles))))))
	cp $(PhysXCooking_debug_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \
	  rm -f $(PhysXCooking_debug_DEPDIR).d

PhysXCooking_checked_hpaths    := 
PhysXCooking_checked_hpaths    += ./../../Common/include
PhysXCooking_checked_hpaths    += ./../../../../PxShared/include
PhysXCooking_checked_hpaths    += ./../../../../PxShared/src/foundation/include
PhysXCooking_checked_hpaths    += ./../../../../PxShared/src/fastxml/include
PhysXCooking_checked_hpaths    += ./../../../../PxShared/src/pvd/include
PhysXCooking_checked_hpaths    += ./../../../Include/common
PhysXCooking_checked_hpaths    += ./../../../Include/geometry
PhysXCooking_checked_hpaths    += ./../../../Include/GeomUtils
PhysXCooking_checked_hpaths    += ./../../../Include/cloth
PhysXCooking_checked_hpaths    += ./../../../Include/cooking
PhysXCooking_checked_hpaths    += ./../../../Include
PhysXCooking_checked_hpaths    += ./../../Common/src
PhysXCooking_checked_hpaths    += ./../../GeomUtils/headers
PhysXCooking_checked_hpaths    += ./../../GeomUtils/src
PhysXCooking_checked_hpaths    += ./../../GeomUtils/src/contact
PhysXCooking_checked_hpaths    += ./../../GeomUtils/src/common
PhysXCooking_checked_hpaths    += ./../../GeomUtils/src/convex
PhysXCooking_checked_hpaths    += ./../../GeomUtils/src/distance
PhysXCooking_checked_hpaths    += ./../../GeomUtils/src/sweep
PhysXCooking_checked_hpaths    += ./../../GeomUtils/src/gjk
PhysXCooking_checked_hpaths    += ./../../GeomUtils/src/intersection
PhysXCooking_checked_hpaths    += ./../../GeomUtils/src/mesh
PhysXCooking_checked_hpaths    += ./../../GeomUtils/src/hf
PhysXCooking_checked_hpaths    += ./../../GeomUtils/src/pcm
PhysXCooking_checked_hpaths    += ./../../GeomUtils/src/ccd
PhysXCooking_checked_hpaths    += ./../../PhysXCooking/src
PhysXCooking_checked_hpaths    += ./../../PhysXCooking/src/mesh
PhysXCooking_checked_hpaths    += ./../../PhysXCooking/src/convex
PhysXCooking_checked_hpaths    += ./../../PhysXExtensions/src
PhysXCooking_checked_hpaths    += ./../../PhysXGpu/include
PhysXCooking_checked_lpaths    := 
PhysXCooking_checked_lpaths    += ./../../../Bin/linux64
PhysXCooking_checked_lpaths    += ./../../../Lib/linux64
PhysXCooking_checked_lpaths    += ./../../../../PxShared/bin/linux64
PhysXCooking_checked_defines   := $(PhysXCooking_custom_defines)
PhysXCooking_checked_defines   += PX_PHYSX_LOADER_EXPORTS
PhysXCooking_checked_defines   += PX_PHYSX_COOKING_EXPORTS
PhysXCooking_checked_defines   += PX_PHYSX_CORE_EXPORTS
PhysXCooking_checked_defines   += PX_COOKING
PhysXCooking_checked_defines   += NDEBUG
PhysXCooking_checked_defines   += PX_CHECKED=1
PhysXCooking_checked_defines   += PX_SUPPORT_PVD=1
PhysXCooking_checked_libraries := 
PhysXCooking_checked_libraries += PhysX3CommonCHECKED_x64
PhysXCooking_checked_libraries += PhysX3ExtensionsCHECKED
PhysXCooking_checked_libraries += PxFoundationCHECKED_x64
PhysXCooking_checked_common_cflags	:= $(PhysXCooking_custom_cflags)
PhysXCooking_checked_common_cflags    += -MMD
PhysXCooking_checked_common_cflags    += $(addprefix -D, $(PhysXCooking_checked_defines))
PhysXCooking_checked_common_cflags    += $(addprefix -I, $(PhysXCooking_checked_hpaths))
PhysXCooking_checked_common_cflags  += -m64
PhysXCooking_checked_common_cflags  += -Werror -m64 -fPIC -msse2 -mfpmath=sse -fno-exceptions -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden
PhysXCooking_checked_common_cflags  += -Wall -Wextra -Wstrict-aliasing=2 -fdiagnostics-show-option
PhysXCooking_checked_common_cflags  += -Wno-invalid-offsetof -Wno-uninitialized -Wno-implicit-fallthrough
PhysXCooking_checked_common_cflags  += -Wno-missing-field-initializers
PhysXCooking_checked_common_cflags  += -g3 -gdwarf-2 -O3 -fno-strict-aliasing
PhysXCooking_checked_cflags	:= $(PhysXCooking_checked_common_cflags)
PhysXCooking_checked_cppflags	:= $(PhysXCooking_checked_common_cflags)
PhysXCooking_checked_lflags    := $(PhysXCooking_custom_lflags)
PhysXCooking_checked_lflags    += $(addprefix -L, $(PhysXCooking_checked_lpaths))
PhysXCooking_checked_lflags    += -Wl,--start-group $(addprefix -l, $(PhysXCooking_checked_libraries)) -Wl,--end-group
PhysXCooking_checked_lflags  += -lrt
PhysXCooking_checked_lflags  += -m64
PhysXCooking_checked_objsdir  = $(OBJS_DIR)/PhysXCooking_checked
PhysXCooking_checked_cpp_o    = $(addprefix $(PhysXCooking_checked_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(PhysXCooking_cppfiles)))))
PhysXCooking_checked_cc_o    = $(addprefix $(PhysXCooking_checked_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(PhysXCooking_ccfiles)))))
PhysXCooking_checked_c_o      = $(addprefix $(PhysXCooking_checked_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(PhysXCooking_cfiles)))))
PhysXCooking_checked_obj      = $(PhysXCooking_checked_cpp_o) $(PhysXCooking_checked_cc_o) $(PhysXCooking_checked_c_o)
PhysXCooking_checked_bin      := ./../../../Bin/linux64/libPhysX3CookingCHECKED_x64.so

clean_PhysXCooking_checked: 
	@$(ECHO) clean PhysXCooking checked
	@$(RMDIR) $(PhysXCooking_checked_objsdir)
	@$(RMDIR) $(PhysXCooking_checked_bin)
	@$(RMDIR) $(DEPSDIR)/PhysXCooking/checked

build_PhysXCooking_checked: postbuild_PhysXCooking_checked
postbuild_PhysXCooking_checked: mainbuild_PhysXCooking_checked
mainbuild_PhysXCooking_checked: prebuild_PhysXCooking_checked $(PhysXCooking_checked_bin)
prebuild_PhysXCooking_checked:

$(PhysXCooking_checked_bin): $(PhysXCooking_checked_obj) build_PhysXCommon_checked build_PhysXExtensions_checked build_PxFoundation_checked 
	mkdir -p `dirname ./../../../Bin/linux64/libPhysX3CookingCHECKED_x64.so`
	$(CXX) -shared $(PhysXCooking_checked_obj) $(PhysXCooking_checked_lflags) -lc -o $@ 
	$(ECHO) building $@ complete!

PhysXCooking_checked_DEPDIR = $(dir $(@))/$(*F)
$(PhysXCooking_checked_cpp_o): $(PhysXCooking_checked_objsdir)/%.o:
	$(ECHO) PhysXCooking: compiling checked $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cppfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PhysXCooking_checked_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cppfiles)) -o $@
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cppfiles))))))
	cp $(PhysXCooking_checked_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_checked_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \
	  rm -f $(PhysXCooking_checked_DEPDIR).d

$(PhysXCooking_checked_cc_o): $(PhysXCooking_checked_objsdir)/%.o:
	$(ECHO) PhysXCooking: compiling checked $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_ccfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PhysXCooking_checked_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_ccfiles)) -o $@
	mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_ccfiles))))))
	cp $(PhysXCooking_checked_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_ccfiles))))).checked.P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_checked_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_ccfiles))))).checked.P; \
	  rm -f $(PhysXCooking_checked_DEPDIR).d

$(PhysXCooking_checked_c_o): $(PhysXCooking_checked_objsdir)/%.o:
	$(ECHO) PhysXCooking: compiling checked $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cfiles))...
	mkdir -p $(dir $(@))
	$(CC) $(PhysXCooking_checked_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cfiles)) -o $@ 
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cfiles))))))
	cp $(PhysXCooking_checked_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_checked_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \
	  rm -f $(PhysXCooking_checked_DEPDIR).d

PhysXCooking_profile_hpaths    := 
PhysXCooking_profile_hpaths    += ./../../Common/include
PhysXCooking_profile_hpaths    += ./../../../../PxShared/include
PhysXCooking_profile_hpaths    += ./../../../../PxShared/src/foundation/include
PhysXCooking_profile_hpaths    += ./../../../../PxShared/src/fastxml/include
PhysXCooking_profile_hpaths    += ./../../../../PxShared/src/pvd/include
PhysXCooking_profile_hpaths    += ./../../../Include/common
PhysXCooking_profile_hpaths    += ./../../../Include/geometry
PhysXCooking_profile_hpaths    += ./../../../Include/GeomUtils
PhysXCooking_profile_hpaths    += ./../../../Include/cloth
PhysXCooking_profile_hpaths    += ./../../../Include/cooking
PhysXCooking_profile_hpaths    += ./../../../Include
PhysXCooking_profile_hpaths    += ./../../Common/src
PhysXCooking_profile_hpaths    += ./../../GeomUtils/headers
PhysXCooking_profile_hpaths    += ./../../GeomUtils/src
PhysXCooking_profile_hpaths    += ./../../GeomUtils/src/contact
PhysXCooking_profile_hpaths    += ./../../GeomUtils/src/common
PhysXCooking_profile_hpaths    += ./../../GeomUtils/src/convex
PhysXCooking_profile_hpaths    += ./../../GeomUtils/src/distance
PhysXCooking_profile_hpaths    += ./../../GeomUtils/src/sweep
PhysXCooking_profile_hpaths    += ./../../GeomUtils/src/gjk
PhysXCooking_profile_hpaths    += ./../../GeomUtils/src/intersection
PhysXCooking_profile_hpaths    += ./../../GeomUtils/src/mesh
PhysXCooking_profile_hpaths    += ./../../GeomUtils/src/hf
PhysXCooking_profile_hpaths    += ./../../GeomUtils/src/pcm
PhysXCooking_profile_hpaths    += ./../../GeomUtils/src/ccd
PhysXCooking_profile_hpaths    += ./../../PhysXCooking/src
PhysXCooking_profile_hpaths    += ./../../PhysXCooking/src/mesh
PhysXCooking_profile_hpaths    += ./../../PhysXCooking/src/convex
PhysXCooking_profile_hpaths    += ./../../PhysXExtensions/src
PhysXCooking_profile_hpaths    += ./../../PhysXGpu/include
PhysXCooking_profile_lpaths    := 
PhysXCooking_profile_lpaths    += ./../../../Bin/linux64
PhysXCooking_profile_lpaths    += ./../../../Lib/linux64
PhysXCooking_profile_lpaths    += ./../../../../PxShared/bin/linux64
PhysXCooking_profile_defines   := $(PhysXCooking_custom_defines)
PhysXCooking_profile_defines   += PX_PHYSX_LOADER_EXPORTS
PhysXCooking_profile_defines   += PX_PHYSX_COOKING_EXPORTS
PhysXCooking_profile_defines   += PX_PHYSX_CORE_EXPORTS
PhysXCooking_profile_defines   += PX_COOKING
PhysXCooking_profile_defines   += NDEBUG
PhysXCooking_profile_defines   += PX_PROFILE=1
PhysXCooking_profile_defines   += PX_SUPPORT_PVD=1
PhysXCooking_profile_libraries := 
PhysXCooking_profile_libraries += PhysX3CommonPROFILE_x64
PhysXCooking_profile_libraries += PhysX3ExtensionsPROFILE
PhysXCooking_profile_libraries += PxFoundationPROFILE_x64
PhysXCooking_profile_common_cflags	:= $(PhysXCooking_custom_cflags)
PhysXCooking_profile_common_cflags    += -MMD
PhysXCooking_profile_common_cflags    += $(addprefix -D, $(PhysXCooking_profile_defines))
PhysXCooking_profile_common_cflags    += $(addprefix -I, $(PhysXCooking_profile_hpaths))
PhysXCooking_profile_common_cflags  += -m64
PhysXCooking_profile_common_cflags  += -Werror -m64 -fPIC -msse2 -mfpmath=sse -fno-exceptions -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden
PhysXCooking_profile_common_cflags  += -Wall -Wextra -Wstrict-aliasing=2 -fdiagnostics-show-option
PhysXCooking_profile_common_cflags  += -Wno-invalid-offsetof -Wno-uninitialized -Wno-implicit-fallthrough
PhysXCooking_profile_common_cflags  += -Wno-missing-field-initializers
PhysXCooking_profile_common_cflags  += -O3 -fno-strict-aliasing
PhysXCooking_profile_cflags	:= $(PhysXCooking_profile_common_cflags)
PhysXCooking_profile_cppflags	:= $(PhysXCooking_profile_common_cflags)
PhysXCooking_profile_lflags    := $(PhysXCooking_custom_lflags)
PhysXCooking_profile_lflags    += $(addprefix -L, $(PhysXCooking_profile_lpaths))
PhysXCooking_profile_lflags    += -Wl,--start-group $(addprefix -l, $(PhysXCooking_profile_libraries)) -Wl,--end-group
PhysXCooking_profile_lflags  += -lrt
PhysXCooking_profile_lflags  += -m64
PhysXCooking_profile_objsdir  = $(OBJS_DIR)/PhysXCooking_profile
PhysXCooking_profile_cpp_o    = $(addprefix $(PhysXCooking_profile_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(PhysXCooking_cppfiles)))))
PhysXCooking_profile_cc_o    = $(addprefix $(PhysXCooking_profile_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(PhysXCooking_ccfiles)))))
PhysXCooking_profile_c_o      = $(addprefix $(PhysXCooking_profile_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(PhysXCooking_cfiles)))))
PhysXCooking_profile_obj      = $(PhysXCooking_profile_cpp_o) $(PhysXCooking_profile_cc_o) $(PhysXCooking_profile_c_o)
PhysXCooking_profile_bin      := ./../../../Bin/linux64/libPhysX3CookingPROFILE_x64.so

clean_PhysXCooking_profile: 
	@$(ECHO) clean PhysXCooking profile
	@$(RMDIR) $(PhysXCooking_profile_objsdir)
	@$(RMDIR) $(PhysXCooking_profile_bin)
	@$(RMDIR) $(DEPSDIR)/PhysXCooking/profile

build_PhysXCooking_profile: postbuild_PhysXCooking_profile
postbuild_PhysXCooking_profile: mainbuild_PhysXCooking_profile
mainbuild_PhysXCooking_profile: prebuild_PhysXCooking_profile $(PhysXCooking_profile_bin)
prebuild_PhysXCooking_profile:

$(PhysXCooking_profile_bin): $(PhysXCooking_profile_obj) build_PhysXCommon_profile build_PhysXExtensions_profile build_PxFoundation_profile 
	mkdir -p `dirname ./../../../Bin/linux64/libPhysX3CookingPROFILE_x64.so`
	$(CXX) -shared $(PhysXCooking_profile_obj) $(PhysXCooking_profile_lflags) -lc -o $@ 
	$(ECHO) building $@ complete!

PhysXCooking_profile_DEPDIR = $(dir $(@))/$(*F)
$(PhysXCooking_profile_cpp_o): $(PhysXCooking_profile_objsdir)/%.o:
	$(ECHO) PhysXCooking: compiling profile $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cppfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PhysXCooking_profile_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cppfiles)) -o $@
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cppfiles))))))
	cp $(PhysXCooking_profile_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_profile_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \
	  rm -f $(PhysXCooking_profile_DEPDIR).d

$(PhysXCooking_profile_cc_o): $(PhysXCooking_profile_objsdir)/%.o:
	$(ECHO) PhysXCooking: compiling profile $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_ccfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PhysXCooking_profile_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_ccfiles)) -o $@
	mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_ccfiles))))))
	cp $(PhysXCooking_profile_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_ccfiles))))).profile.P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_profile_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_ccfiles))))).profile.P; \
	  rm -f $(PhysXCooking_profile_DEPDIR).d

$(PhysXCooking_profile_c_o): $(PhysXCooking_profile_objsdir)/%.o:
	$(ECHO) PhysXCooking: compiling profile $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cfiles))...
	mkdir -p $(dir $(@))
	$(CC) $(PhysXCooking_profile_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cfiles)) -o $@ 
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cfiles))))))
	cp $(PhysXCooking_profile_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_profile_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \
	  rm -f $(PhysXCooking_profile_DEPDIR).d

clean_PhysXCooking:  clean_PhysXCooking_release clean_PhysXCooking_debug clean_PhysXCooking_checked clean_PhysXCooking_profile
	rm -rf $(DEPSDIR)

export VERBOSE
ifndef VERBOSE
.SILENT:
endif