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
|
# Makefile generated by XPJ for linux64
-include Makefile.custom
ProjectName = flexDevice
flexDevice_cppfiles += ./../../../src/device/PhysXDevice.cpp
flexDevice_cppfiles += ./../../../src/device/flexDevice.cpp
flexDevice_cpp_release_dep = $(addprefix $(DEPSDIR)/flexDevice/release/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(flexDevice_cppfiles)))))
flexDevice_cc_release_dep = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.release.P, $(flexDevice_ccfiles)))))
flexDevice_c_release_dep = $(addprefix $(DEPSDIR)/flexDevice/release/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(flexDevice_cfiles)))))
flexDevice_release_dep = $(flexDevice_cpp_release_dep) $(flexDevice_cc_release_dep) $(flexDevice_c_release_dep)
-include $(flexDevice_release_dep)
flexDevice_cpp_debug_dep = $(addprefix $(DEPSDIR)/flexDevice/debug/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(flexDevice_cppfiles)))))
flexDevice_cc_debug_dep = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.debug.P, $(flexDevice_ccfiles)))))
flexDevice_c_debug_dep = $(addprefix $(DEPSDIR)/flexDevice/debug/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(flexDevice_cfiles)))))
flexDevice_debug_dep = $(flexDevice_cpp_debug_dep) $(flexDevice_cc_debug_dep) $(flexDevice_c_debug_dep)
-include $(flexDevice_debug_dep)
flexDevice_release_hpaths :=
flexDevice_release_hpaths += ./../../../../../../external/CUDA/8.0.44-linux/include
flexDevice_release_hpaths += ./../../../../../../external/CUDA/8.0.44-linux/extras/cupti/include
flexDevice_release_hpaths += ./../../..
flexDevice_release_lpaths :=
flexDevice_release_lpaths += ./../../../../../../external/CUDA/8.0.44-linux/lib64
flexDevice_release_defines := $(flexDevice_custom_defines)
flexDevice_release_libraries :=
flexDevice_release_common_cflags := $(flexDevice_custom_cflags)
flexDevice_release_common_cflags += -MMD
flexDevice_release_common_cflags += $(addprefix -D, $(flexDevice_release_defines))
flexDevice_release_common_cflags += $(addprefix -I, $(flexDevice_release_hpaths))
flexDevice_release_common_cflags += -m64
flexDevice_release_cflags := $(flexDevice_release_common_cflags)
flexDevice_release_cflags += -Wall -std=c++0x -fPIC -fpermissive -fno-strict-aliasing
flexDevice_release_cflags += -O3 -ffast-math -DNDEBUG
flexDevice_release_cppflags := $(flexDevice_release_common_cflags)
flexDevice_release_cppflags += -Wall -std=c++0x -fPIC -fpermissive -fno-strict-aliasing
flexDevice_release_cppflags += -O3 -ffast-math -DNDEBUG
flexDevice_release_lflags := $(flexDevice_custom_lflags)
flexDevice_release_lflags += $(addprefix -L, $(flexDevice_release_lpaths))
flexDevice_release_lflags += -Wl,--start-group $(addprefix -l, $(flexDevice_release_libraries)) -Wl,--end-group
flexDevice_release_lflags += -m64
flexDevice_release_objsdir = $(OBJS_DIR)/flexDevice_release
flexDevice_release_cpp_o = $(addprefix $(flexDevice_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(flexDevice_cppfiles)))))
flexDevice_release_cc_o = $(addprefix $(flexDevice_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(flexDevice_ccfiles)))))
flexDevice_release_c_o = $(addprefix $(flexDevice_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(flexDevice_cfiles)))))
flexDevice_release_obj = $(flexDevice_release_cpp_o) $(flexDevice_release_cc_o) $(flexDevice_release_c_o)
flexDevice_release_bin := ./../../../lib/linux64/NvFlexDeviceRelease_x64.a
clean_flexDevice_release:
@$(ECHO) clean flexDevice release
@$(RMDIR) $(flexDevice_release_objsdir)
@$(RMDIR) $(flexDevice_release_bin)
@$(RMDIR) $(DEPSDIR)/flexDevice/release
build_flexDevice_release: postbuild_flexDevice_release
postbuild_flexDevice_release: mainbuild_flexDevice_release
mainbuild_flexDevice_release: prebuild_flexDevice_release $(flexDevice_release_bin)
prebuild_flexDevice_release:
$(flexDevice_release_bin): $(flexDevice_release_obj)
mkdir -p `dirname ./../../../lib/linux64/NvFlexDeviceRelease_x64.a`
@$(AR) rcs $(flexDevice_release_bin) $(flexDevice_release_obj)
$(ECHO) building $@ complete!
flexDevice_release_DEPDIR = $(dir $(@))/$(*F)
$(flexDevice_release_cpp_o): $(flexDevice_release_objsdir)/%.o:
$(ECHO) flexDevice: compiling release $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(flexDevice_release_objsdir),, $@))), $(flexDevice_cppfiles))...
mkdir -p $(dir $(@))
$(CXX) $(flexDevice_release_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(flexDevice_release_objsdir),, $@))), $(flexDevice_cppfiles)) -o $@
@mkdir -p $(dir $(addprefix $(DEPSDIR)/flexDevice/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(flexDevice_release_objsdir),, $@))), $(flexDevice_cppfiles))))))
cp $(flexDevice_release_DEPDIR).d $(addprefix $(DEPSDIR)/flexDevice/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(flexDevice_release_objsdir),, $@))), $(flexDevice_cppfiles))))).P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(flexDevice_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/flexDevice/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(flexDevice_release_objsdir),, $@))), $(flexDevice_cppfiles))))).P; \
rm -f $(flexDevice_release_DEPDIR).d
$(flexDevice_release_cc_o): $(flexDevice_release_objsdir)/%.o:
$(ECHO) flexDevice: compiling release $(filter %$(strip $(subst .cc.o,.cc, $(subst $(flexDevice_release_objsdir),, $@))), $(flexDevice_ccfiles))...
mkdir -p $(dir $(@))
$(CXX) $(flexDevice_release_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(flexDevice_release_objsdir),, $@))), $(flexDevice_ccfiles)) -o $@
mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(flexDevice_release_objsdir),, $@))), $(flexDevice_ccfiles))))))
cp $(flexDevice_release_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(flexDevice_release_objsdir),, $@))), $(flexDevice_ccfiles))))).release.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(flexDevice_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(flexDevice_release_objsdir),, $@))), $(flexDevice_ccfiles))))).release.P; \
rm -f $(flexDevice_release_DEPDIR).d
$(flexDevice_release_c_o): $(flexDevice_release_objsdir)/%.o:
$(ECHO) flexDevice: compiling release $(filter %$(strip $(subst .c.o,.c, $(subst $(flexDevice_release_objsdir),, $@))), $(flexDevice_cfiles))...
mkdir -p $(dir $(@))
$(CC) $(flexDevice_release_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(flexDevice_release_objsdir),, $@))), $(flexDevice_cfiles)) -o $@
@mkdir -p $(dir $(addprefix $(DEPSDIR)/flexDevice/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(flexDevice_release_objsdir),, $@))), $(flexDevice_cfiles))))))
cp $(flexDevice_release_DEPDIR).d $(addprefix $(DEPSDIR)/flexDevice/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(flexDevice_release_objsdir),, $@))), $(flexDevice_cfiles))))).P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(flexDevice_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/flexDevice/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(flexDevice_release_objsdir),, $@))), $(flexDevice_cfiles))))).P; \
rm -f $(flexDevice_release_DEPDIR).d
flexDevice_debug_hpaths :=
flexDevice_debug_hpaths += ./../../../../../../external/CUDA/8.0.44-linux/include
flexDevice_debug_hpaths += ./../../../../../../external/CUDA/8.0.44-linux/extras/cupti/include
flexDevice_debug_hpaths += ./../../..
flexDevice_debug_lpaths :=
flexDevice_debug_lpaths += ./../../../../../../external/CUDA/8.0.44-linux/lib64
flexDevice_debug_defines := $(flexDevice_custom_defines)
flexDevice_debug_libraries :=
flexDevice_debug_common_cflags := $(flexDevice_custom_cflags)
flexDevice_debug_common_cflags += -MMD
flexDevice_debug_common_cflags += $(addprefix -D, $(flexDevice_debug_defines))
flexDevice_debug_common_cflags += $(addprefix -I, $(flexDevice_debug_hpaths))
flexDevice_debug_common_cflags += -m64
flexDevice_debug_cflags := $(flexDevice_debug_common_cflags)
flexDevice_debug_cflags += -Wall -std=c++0x -fPIC -fpermissive -fno-strict-aliasing
flexDevice_debug_cflags += -g -O0
flexDevice_debug_cppflags := $(flexDevice_debug_common_cflags)
flexDevice_debug_cppflags += -Wall -std=c++0x -fPIC -fpermissive -fno-strict-aliasing
flexDevice_debug_cppflags += -g -O0
flexDevice_debug_lflags := $(flexDevice_custom_lflags)
flexDevice_debug_lflags += $(addprefix -L, $(flexDevice_debug_lpaths))
flexDevice_debug_lflags += -Wl,--start-group $(addprefix -l, $(flexDevice_debug_libraries)) -Wl,--end-group
flexDevice_debug_lflags += -m64
flexDevice_debug_objsdir = $(OBJS_DIR)/flexDevice_debug
flexDevice_debug_cpp_o = $(addprefix $(flexDevice_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(flexDevice_cppfiles)))))
flexDevice_debug_cc_o = $(addprefix $(flexDevice_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(flexDevice_ccfiles)))))
flexDevice_debug_c_o = $(addprefix $(flexDevice_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(flexDevice_cfiles)))))
flexDevice_debug_obj = $(flexDevice_debug_cpp_o) $(flexDevice_debug_cc_o) $(flexDevice_debug_c_o)
flexDevice_debug_bin := ./../../../lib/linux64/NvFlexDeviceDebug_x64.a
clean_flexDevice_debug:
@$(ECHO) clean flexDevice debug
@$(RMDIR) $(flexDevice_debug_objsdir)
@$(RMDIR) $(flexDevice_debug_bin)
@$(RMDIR) $(DEPSDIR)/flexDevice/debug
build_flexDevice_debug: postbuild_flexDevice_debug
postbuild_flexDevice_debug: mainbuild_flexDevice_debug
mainbuild_flexDevice_debug: prebuild_flexDevice_debug $(flexDevice_debug_bin)
prebuild_flexDevice_debug:
$(flexDevice_debug_bin): $(flexDevice_debug_obj)
mkdir -p `dirname ./../../../lib/linux64/NvFlexDeviceDebug_x64.a`
@$(AR) rcs $(flexDevice_debug_bin) $(flexDevice_debug_obj)
$(ECHO) building $@ complete!
flexDevice_debug_DEPDIR = $(dir $(@))/$(*F)
$(flexDevice_debug_cpp_o): $(flexDevice_debug_objsdir)/%.o:
$(ECHO) flexDevice: compiling debug $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(flexDevice_debug_objsdir),, $@))), $(flexDevice_cppfiles))...
mkdir -p $(dir $(@))
$(CXX) $(flexDevice_debug_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(flexDevice_debug_objsdir),, $@))), $(flexDevice_cppfiles)) -o $@
@mkdir -p $(dir $(addprefix $(DEPSDIR)/flexDevice/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(flexDevice_debug_objsdir),, $@))), $(flexDevice_cppfiles))))))
cp $(flexDevice_debug_DEPDIR).d $(addprefix $(DEPSDIR)/flexDevice/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(flexDevice_debug_objsdir),, $@))), $(flexDevice_cppfiles))))).P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(flexDevice_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/flexDevice/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(flexDevice_debug_objsdir),, $@))), $(flexDevice_cppfiles))))).P; \
rm -f $(flexDevice_debug_DEPDIR).d
$(flexDevice_debug_cc_o): $(flexDevice_debug_objsdir)/%.o:
$(ECHO) flexDevice: compiling debug $(filter %$(strip $(subst .cc.o,.cc, $(subst $(flexDevice_debug_objsdir),, $@))), $(flexDevice_ccfiles))...
mkdir -p $(dir $(@))
$(CXX) $(flexDevice_debug_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(flexDevice_debug_objsdir),, $@))), $(flexDevice_ccfiles)) -o $@
mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(flexDevice_debug_objsdir),, $@))), $(flexDevice_ccfiles))))))
cp $(flexDevice_debug_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(flexDevice_debug_objsdir),, $@))), $(flexDevice_ccfiles))))).debug.P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(flexDevice_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(flexDevice_debug_objsdir),, $@))), $(flexDevice_ccfiles))))).debug.P; \
rm -f $(flexDevice_debug_DEPDIR).d
$(flexDevice_debug_c_o): $(flexDevice_debug_objsdir)/%.o:
$(ECHO) flexDevice: compiling debug $(filter %$(strip $(subst .c.o,.c, $(subst $(flexDevice_debug_objsdir),, $@))), $(flexDevice_cfiles))...
mkdir -p $(dir $(@))
$(CC) $(flexDevice_debug_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(flexDevice_debug_objsdir),, $@))), $(flexDevice_cfiles)) -o $@
@mkdir -p $(dir $(addprefix $(DEPSDIR)/flexDevice/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(flexDevice_debug_objsdir),, $@))), $(flexDevice_cfiles))))))
cp $(flexDevice_debug_DEPDIR).d $(addprefix $(DEPSDIR)/flexDevice/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(flexDevice_debug_objsdir),, $@))), $(flexDevice_cfiles))))).P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(flexDevice_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/flexDevice/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(flexDevice_debug_objsdir),, $@))), $(flexDevice_cfiles))))).P; \
rm -f $(flexDevice_debug_DEPDIR).d
clean_flexDevice: clean_flexDevice_release clean_flexDevice_debug
rm -rf $(DEPSDIR)
export VERBOSE
ifndef VERBOSE
.SILENT:
endif
|