diff options
| author | git perforce import user <a@b> | 2016-10-25 12:29:14 -0600 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <Sheikh Dawood Abdul Ajees> | 2016-10-25 18:56:37 -0500 |
| commit | 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 (patch) | |
| tree | fa6485c169e50d7415a651bf838f5bcd0fd3bfbd /PhysX_3.4/Snippets/compiler/linux64/Makefile.SnippetCustomProfiler.mk | |
| download | physx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.tar.xz physx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.zip | |
Initial commit:
PhysX 3.4.0 Update @ 21294896
APEX 1.4.0 Update @ 21275617
[CL 21300167]
Diffstat (limited to 'PhysX_3.4/Snippets/compiler/linux64/Makefile.SnippetCustomProfiler.mk')
| -rw-r--r-- | PhysX_3.4/Snippets/compiler/linux64/Makefile.SnippetCustomProfiler.mk | 478 |
1 files changed, 478 insertions, 0 deletions
diff --git a/PhysX_3.4/Snippets/compiler/linux64/Makefile.SnippetCustomProfiler.mk b/PhysX_3.4/Snippets/compiler/linux64/Makefile.SnippetCustomProfiler.mk new file mode 100644 index 00000000..4c403847 --- /dev/null +++ b/PhysX_3.4/Snippets/compiler/linux64/Makefile.SnippetCustomProfiler.mk @@ -0,0 +1,478 @@ +# Makefile generated by XPJ for linux64 +-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/linux64 +SnippetCustomProfiler_debug_lpaths += ./../../lib/linux64 +SnippetCustomProfiler_debug_lpaths += ./../../../Bin/linux64 +SnippetCustomProfiler_debug_lpaths += ./../../../../PxShared/lib/linux64 +SnippetCustomProfiler_debug_lpaths += ./../../../../PxShared/bin/linux64 +SnippetCustomProfiler_debug_lpaths += ./../../lib/linux64 +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_x64 +SnippetCustomProfiler_debug_libraries += PhysX3CookingDEBUG_x64 +SnippetCustomProfiler_debug_libraries += PhysX3CharacterKinematicDEBUG_x64 +SnippetCustomProfiler_debug_libraries += PhysX3ExtensionsDEBUG +SnippetCustomProfiler_debug_libraries += PhysX3VehicleDEBUG +SnippetCustomProfiler_debug_libraries += PxPvdSDKDEBUG_x64 +SnippetCustomProfiler_debug_libraries += PhysX3CommonDEBUG_x64 +SnippetCustomProfiler_debug_libraries += PxFoundationDEBUG_x64 +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 += -m64 +SnippetCustomProfiler_debug_common_cflags += -Werror -m64 -fPIC -msse2 -mfpmath=sse -ffast-math -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 += -m64 +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/linux64/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/linux64/libPxFoundationDEBUG_x64.so" "../../../Bin/linux64/libPxFoundationDEBUG_x64.so"; cp -u "../../../../PxShared/bin/linux64/libPxPvdSDKDEBUG_x64.so" "../../../Bin/linux64/libPxPvdSDKDEBUG_x64.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/linux64/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/linux64 +SnippetCustomProfiler_checked_lpaths += ./../../lib/linux64 +SnippetCustomProfiler_checked_lpaths += ./../../../Bin/linux64 +SnippetCustomProfiler_checked_lpaths += ./../../../../PxShared/lib/linux64 +SnippetCustomProfiler_checked_lpaths += ./../../../../PxShared/bin/linux64 +SnippetCustomProfiler_checked_lpaths += ./../../lib/linux64 +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_x64 +SnippetCustomProfiler_checked_libraries += PhysX3CookingCHECKED_x64 +SnippetCustomProfiler_checked_libraries += PhysX3CharacterKinematicCHECKED_x64 +SnippetCustomProfiler_checked_libraries += PhysX3ExtensionsCHECKED +SnippetCustomProfiler_checked_libraries += PhysX3VehicleCHECKED +SnippetCustomProfiler_checked_libraries += PxPvdSDKCHECKED_x64 +SnippetCustomProfiler_checked_libraries += PhysX3CommonCHECKED_x64 +SnippetCustomProfiler_checked_libraries += PxFoundationCHECKED_x64 +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 += -m64 +SnippetCustomProfiler_checked_common_cflags += -Werror -m64 -fPIC -msse2 -mfpmath=sse -ffast-math -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 += -m64 +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/linux64/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/linux64/libPxFoundationCHECKED_x64.so" "../../../Bin/linux64/libPxFoundationCHECKED_x64.so"; cp -u "../../../../PxShared/bin/linux64/libPxPvdSDKCHECKED_x64.so" "../../../Bin/linux64/libPxPvdSDKCHECKED_x64.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/linux64/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/linux64 +SnippetCustomProfiler_profile_lpaths += ./../../lib/linux64 +SnippetCustomProfiler_profile_lpaths += ./../../../Bin/linux64 +SnippetCustomProfiler_profile_lpaths += ./../../../../PxShared/lib/linux64 +SnippetCustomProfiler_profile_lpaths += ./../../../../PxShared/bin/linux64 +SnippetCustomProfiler_profile_lpaths += ./../../lib/linux64 +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_x64 +SnippetCustomProfiler_profile_libraries += PhysX3CookingPROFILE_x64 +SnippetCustomProfiler_profile_libraries += PhysX3CharacterKinematicPROFILE_x64 +SnippetCustomProfiler_profile_libraries += PhysX3ExtensionsPROFILE +SnippetCustomProfiler_profile_libraries += PhysX3VehiclePROFILE +SnippetCustomProfiler_profile_libraries += PxPvdSDKPROFILE_x64 +SnippetCustomProfiler_profile_libraries += PhysX3CommonPROFILE_x64 +SnippetCustomProfiler_profile_libraries += PxFoundationPROFILE_x64 +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 += -m64 +SnippetCustomProfiler_profile_common_cflags += -Werror -m64 -fPIC -msse2 -mfpmath=sse -ffast-math -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 += -m64 +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/linux64/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/linux64/libPxFoundationPROFILE_x64.so" "../../../Bin/linux64/libPxFoundationPROFILE_x64.so"; cp -u "../../../../PxShared/bin/linux64/libPxPvdSDKPROFILE_x64.so" "../../../Bin/linux64/libPxPvdSDKPROFILE_x64.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/linux64/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/linux64 +SnippetCustomProfiler_release_lpaths += ./../../lib/linux64 +SnippetCustomProfiler_release_lpaths += ./../../../Bin/linux64 +SnippetCustomProfiler_release_lpaths += ./../../../../PxShared/lib/linux64 +SnippetCustomProfiler_release_lpaths += ./../../../../PxShared/bin/linux64 +SnippetCustomProfiler_release_lpaths += ./../../lib/linux64 +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_x64 +SnippetCustomProfiler_release_libraries += PhysX3Cooking_x64 +SnippetCustomProfiler_release_libraries += PhysX3CharacterKinematic_x64 +SnippetCustomProfiler_release_libraries += PhysX3Extensions +SnippetCustomProfiler_release_libraries += PhysX3Vehicle +SnippetCustomProfiler_release_libraries += PxPvdSDK_x64 +SnippetCustomProfiler_release_libraries += PhysX3Common_x64 +SnippetCustomProfiler_release_libraries += PxFoundation_x64 +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 += -m64 +SnippetCustomProfiler_release_common_cflags += -Werror -m64 -fPIC -msse2 -mfpmath=sse -ffast-math -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 += -m64 +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/linux64/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/linux64/libPxFoundation_x64.so" "../../../Bin/linux64/libPxFoundation_x64.so"; cp -u "../../../../PxShared/bin/linux64/libPxPvdSDK_x64.so" "../../../Bin/linux64/libPxPvdSDK_x64.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/linux64/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 |