Fork me on GitHub

source: svn/trunk/Makefile@ 3

Last change on this file since 3 was 2, checked in by Xavier Rouby, 16 years ago

first commit

File size: 14.9 KB
Line 
1
2#
3# Makefile for Delphes, a Fast Simulator for general-purpose detectors at the LHC
4#
5# Author: S. Ovyn, X. Rouby - UCL, Louvain-la-Neuve
6# -- inspired by P. Demin's work on ExRootAnalysis (UCL, Louvain-la-Neuve)
7# -- the multi-platform configuration is taken from ROOT (root/test/Makefile.arch)
8#
9
10include $(ROOTSYS)/test/Makefile.arch
11
12ifeq ($(ARCH),macosx64)
13UNDEFOPT = dynamic_lookup
14endif
15
16SrcSuf = cc
17
18#CXXFLAGS += $(ROOTCFLAGS) -DDROP_CGAL -Iinterface -IUtilities/CDFCones/interface -IUtilities/ExRootAnalysis/interface -IUtilities/mcfio -IUtilities/stdhep -IUtilities/Hector/include
19CXXFLAGS += $(ROOTCFLAGS) -DDROP_CGAL -I. -IUtilities/mcfio -IUtilities/stdhep -IUtilities/Hector/include -IUtilities/CDFCones/interface
20LIBS = $(ROOTLIBS) -lEG $(SYSLIBS)
21GLIBS = $(ROOTGLIBS) $(SYSLIBS)
22
23###
24
25SHARED = lib/libUtilities.$(DllSuf) lib/libHector.$(DllSuf)
26
27all:
28
29
30Delphes$(ExeSuf): \
31 tmp/Delphes.$(ObjSuf)
32
33tmp/Delphes.$(ObjSuf): \
34 Delphes.cpp \
35 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
36 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
37 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
38 Utilities/CDFCones/interface/JetCluAlgorithm.h \
39 Utilities/CDFCones/interface/MidPointAlgorithm.h \
40 Utilities/CDFCones/interface/PhysicsTower.h \
41 Utilities/CDFCones/interface/Cluster.h \
42 interface/DataConverter.h \
43 interface/HEPEVTConverter.h \
44 interface/LHEFConverter.h \
45 interface/STDHEPConverter.h \
46 interface/SmearUtil.h
47EXECUTABLE = \
48 Delphes$(ExeSuf)
49
50EXECUTABLE_OBJ = \
51 tmp/Delphes.$(ObjSuf)
52
53tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf): \
54 Utilities/ExRootAnalysis/src/BlockClassesLinkDef.h \
55 Utilities/ExRootAnalysis/interface/BlockClasses.h
56DICT = \
57 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf)
58
59DICT_OBJ = \
60 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(ObjSuf)
61
62tmp/src/STDHEPConverter.$(ObjSuf): \
63 src/STDHEPConverter.$(SrcSuf) \
64 Utilities/ExRootAnalysis/interface/BlockClasses.h \
65 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
66 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
67 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
68 Utilities/ExRootAnalysis/interface/LHEF.h \
69 Utilities/stdhep/stdhep_mcfio.h \
70 Utilities/stdhep/stdhep_declarations.h \
71 interface/STDHEPConverter.h
72tmp/src/LHEFConverter.$(ObjSuf): \
73 src/LHEFConverter.$(SrcSuf) \
74 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
75 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
76 Utilities/ExRootAnalysis/interface/BlockClasses.h \
77 interface/LHEFConverter.h \
78 Utilities/ExRootAnalysis/interface/LHEF.h
79tmp/src/HEPEVTConverter.$(ObjSuf): \
80 src/HEPEVTConverter.$(SrcSuf) \
81 Utilities/ExRootAnalysis/interface/BlockClasses.h \
82 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
83 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
84 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
85 interface/HEPEVTConverter.h
86tmp/src/SmearUtil.$(ObjSuf): \
87 src/SmearUtil.$(SrcSuf) \
88 interface/SmearUtil.h
89tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf): \
90 Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(SrcSuf) \
91 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
92 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h
93tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf): \
94 Utilities/ExRootAnalysis/src/BlockClasses.$(SrcSuf) \
95 Utilities/ExRootAnalysis/interface/BlockClasses.h \
96 Utilities/ExRootAnalysis/interface/BlockCompare.h
97tmp/Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(ObjSuf): \
98 Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(SrcSuf) \
99 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h
100tmp/Utilities/ExRootAnalysis/src/ExRootTreeReader.$(ObjSuf): \
101 Utilities/ExRootAnalysis/src/ExRootTreeReader.$(SrcSuf) \
102 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h
103tmp/Utilities/ExRootAnalysis/src/ExRootProgressBar.$(ObjSuf): \
104 Utilities/ExRootAnalysis/src/ExRootProgressBar.$(SrcSuf) \
105 Utilities/ExRootAnalysis/interface/ExRootProgressBar.h
106tmp/Utilities/Hector/src/H_Parameters.$(ObjSuf): \
107 Utilities/Hector/src/H_Parameters.$(SrcSuf)
108tmp/Utilities/Hector/src/H_RomanPot.$(ObjSuf): \
109 Utilities/Hector/src/H_RomanPot.$(SrcSuf)
110tmp/Utilities/Hector/src/H_Beam.$(ObjSuf): \
111 Utilities/Hector/src/H_Beam.$(SrcSuf)
112tmp/Utilities/Hector/src/H_SectorDipole.$(ObjSuf): \
113 Utilities/Hector/src/H_SectorDipole.$(SrcSuf)
114tmp/Utilities/Hector/src/H_RecRPObject.$(ObjSuf): \
115 Utilities/Hector/src/H_RecRPObject.$(SrcSuf)
116tmp/Utilities/Hector/src/H_Drift.$(ObjSuf): \
117 Utilities/Hector/src/H_Drift.$(SrcSuf)
118tmp/Utilities/Hector/src/H_CircularAperture.$(ObjSuf): \
119 Utilities/Hector/src/H_CircularAperture.$(SrcSuf)
120tmp/Utilities/Hector/src/H_VerticalQuadrupole.$(ObjSuf): \
121 Utilities/Hector/src/H_VerticalQuadrupole.$(SrcSuf)
122tmp/Utilities/Hector/src/H_EllipticAperture.$(ObjSuf): \
123 Utilities/Hector/src/H_EllipticAperture.$(SrcSuf)
124tmp/Utilities/Hector/src/H_RectangularDipole.$(ObjSuf): \
125 Utilities/Hector/src/H_RectangularDipole.$(SrcSuf)
126tmp/Utilities/Hector/src/H_OpticalElement.$(ObjSuf): \
127 Utilities/Hector/src/H_OpticalElement.$(SrcSuf)
128tmp/Utilities/Hector/src/H_Kicker.$(ObjSuf): \
129 Utilities/Hector/src/H_Kicker.$(SrcSuf)
130tmp/Utilities/Hector/src/H_BeamLineParser.$(ObjSuf): \
131 Utilities/Hector/src/H_BeamLineParser.$(SrcSuf)
132tmp/Utilities/Hector/src/H_AbstractBeamLine.$(ObjSuf): \
133 Utilities/Hector/src/H_AbstractBeamLine.$(SrcSuf)
134tmp/Utilities/Hector/src/H_Aperture.$(ObjSuf): \
135 Utilities/Hector/src/H_Aperture.$(SrcSuf)
136tmp/Utilities/Hector/src/H_BeamParticle.$(ObjSuf): \
137 Utilities/Hector/src/H_BeamParticle.$(SrcSuf)
138tmp/Utilities/Hector/src/H_TransportMatrices.$(ObjSuf): \
139 Utilities/Hector/src/H_TransportMatrices.$(SrcSuf)
140tmp/Utilities/Hector/src/H_HorizontalKicker.$(ObjSuf): \
141 Utilities/Hector/src/H_HorizontalKicker.$(SrcSuf)
142tmp/Utilities/Hector/src/H_Quadrupole.$(ObjSuf): \
143 Utilities/Hector/src/H_Quadrupole.$(SrcSuf)
144tmp/Utilities/Hector/src/H_RectangularAperture.$(ObjSuf): \
145 Utilities/Hector/src/H_RectangularAperture.$(SrcSuf)
146tmp/Utilities/Hector/src/H_Marker.$(ObjSuf): \
147 Utilities/Hector/src/H_Marker.$(SrcSuf)
148tmp/Utilities/Hector/src/H_RectangularCollimator.$(ObjSuf): \
149 Utilities/Hector/src/H_RectangularCollimator.$(SrcSuf)
150tmp/Utilities/Hector/src/H_BeamLine.$(ObjSuf): \
151 Utilities/Hector/src/H_BeamLine.$(SrcSuf)
152tmp/Utilities/Hector/src/H_HorizontalQuadrupole.$(ObjSuf): \
153 Utilities/Hector/src/H_HorizontalQuadrupole.$(SrcSuf)
154tmp/Utilities/Hector/src/H_VerticalKicker.$(ObjSuf): \
155 Utilities/Hector/src/H_VerticalKicker.$(SrcSuf)
156tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf): \
157 Utilities/Hector/src/H_RectEllipticAperture.$(SrcSuf)
158tmp/Utilities/Hector/src/H_Dipole.$(ObjSuf): \
159 Utilities/Hector/src/H_Dipole.$(SrcSuf)
160tmp/Utilities/CDFCones/src/MidPointAlgorithm.$(ObjSuf): \
161 Utilities/CDFCones/src/MidPointAlgorithm.$(SrcSuf) \
162 Utilities/CDFCones/interface/MidPointAlgorithm.h \
163 Utilities/CDFCones/interface/ClusterComparisons.h
164tmp/Utilities/CDFCones/src/JetCluAlgorithm.$(ObjSuf): \
165 Utilities/CDFCones/src/JetCluAlgorithm.$(SrcSuf) \
166 Utilities/CDFCones/interface/JetCluAlgorithm.h \
167 Utilities/CDFCones/interface/ClusterComparisons.h \
168 Utilities/CDFCones/interface/Centroid.h
169SOURCE_OBJ = \
170 tmp/src/STDHEPConverter.$(ObjSuf) \
171 tmp/src/LHEFConverter.$(ObjSuf) \
172 tmp/src/HEPEVTConverter.$(ObjSuf) \
173 tmp/src/SmearUtil.$(ObjSuf) \
174 tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf) \
175 tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf) \
176 tmp/Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(ObjSuf) \
177 tmp/Utilities/ExRootAnalysis/src/ExRootTreeReader.$(ObjSuf) \
178 tmp/Utilities/ExRootAnalysis/src/ExRootProgressBar.$(ObjSuf) \
179 tmp/Utilities/Hector/src/H_Parameters.$(ObjSuf) \
180 tmp/Utilities/Hector/src/H_RomanPot.$(ObjSuf) \
181 tmp/Utilities/Hector/src/H_Beam.$(ObjSuf) \
182 tmp/Utilities/Hector/src/H_SectorDipole.$(ObjSuf) \
183 tmp/Utilities/Hector/src/H_RecRPObject.$(ObjSuf) \
184 tmp/Utilities/Hector/src/H_Drift.$(ObjSuf) \
185 tmp/Utilities/Hector/src/H_CircularAperture.$(ObjSuf) \
186 tmp/Utilities/Hector/src/H_VerticalQuadrupole.$(ObjSuf) \
187 tmp/Utilities/Hector/src/H_EllipticAperture.$(ObjSuf) \
188 tmp/Utilities/Hector/src/H_RectangularDipole.$(ObjSuf) \
189 tmp/Utilities/Hector/src/H_OpticalElement.$(ObjSuf) \
190 tmp/Utilities/Hector/src/H_Kicker.$(ObjSuf) \
191 tmp/Utilities/Hector/src/H_BeamLineParser.$(ObjSuf) \
192 tmp/Utilities/Hector/src/H_AbstractBeamLine.$(ObjSuf) \
193 tmp/Utilities/Hector/src/H_Aperture.$(ObjSuf) \
194 tmp/Utilities/Hector/src/H_BeamParticle.$(ObjSuf) \
195 tmp/Utilities/Hector/src/H_TransportMatrices.$(ObjSuf) \
196 tmp/Utilities/Hector/src/H_HorizontalKicker.$(ObjSuf) \
197 tmp/Utilities/Hector/src/H_Quadrupole.$(ObjSuf) \
198 tmp/Utilities/Hector/src/H_RectangularAperture.$(ObjSuf) \
199 tmp/Utilities/Hector/src/H_Marker.$(ObjSuf) \
200 tmp/Utilities/Hector/src/H_RectangularCollimator.$(ObjSuf) \
201 tmp/Utilities/Hector/src/H_BeamLine.$(ObjSuf) \
202 tmp/Utilities/Hector/src/H_HorizontalQuadrupole.$(ObjSuf) \
203 tmp/Utilities/Hector/src/H_VerticalKicker.$(ObjSuf) \
204 tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf) \
205 tmp/Utilities/Hector/src/H_Dipole.$(ObjSuf) \
206 tmp/Utilities/CDFCones/src/MidPointAlgorithm.$(ObjSuf) \
207 tmp/Utilities/CDFCones/src/JetCluAlgorithm.$(ObjSuf)
208
209tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf): \
210 Utilities/mcfio/mcf_ntuBldDbinc.c
211tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf): \
212 Utilities/mcfio/mcfio_SeqDummy.c
213tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf): \
214 Utilities/mcfio/mcfio_Util1.c
215tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf): \
216 Utilities/mcfio/mcf_evt_xdr.c
217tmp/Utilities/mcfio/mcf_NTuIOUtils.$(ObjSuf): \
218 Utilities/mcfio/mcf_NTuIOUtils.c
219tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf): \
220 Utilities/mcfio/mcfio_Block.c
221tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf): \
222 Utilities/mcfio/mcfio_Direct.c
223tmp/Utilities/mcfio/mcf_NTuIOFiles.$(ObjSuf): \
224 Utilities/mcfio/mcf_NTuIOFiles.c
225tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf): \
226 Utilities/mcfio/mcfio_UserDictionary.c
227tmp/Utilities/mcfio/mcf_ntubldInit.$(ObjSuf): \
228 Utilities/mcfio/mcf_ntubldInit.c
229tmp/Utilities/stdhep/mcf_hepev4_xdr.$(ObjSuf): \
230 Utilities/stdhep/mcf_hepev4_xdr.c
231tmp/Utilities/stdhep/mcf_stdcm1_xdr.$(ObjSuf): \
232 Utilities/stdhep/mcf_stdcm1_xdr.c
233tmp/Utilities/stdhep/mcf_hepup_xdr.$(ObjSuf): \
234 Utilities/stdhep/mcf_hepup_xdr.c
235tmp/Utilities/stdhep/mcf_Stdhep_xdr.$(ObjSuf): \
236 Utilities/stdhep/mcf_Stdhep_xdr.c
237tmp/Utilities/stdhep/stdhep_internal_utils.$(ObjSuf): \
238 Utilities/stdhep/stdhep_internal_utils.c
239tmp/Utilities/stdhep/stdhep_mcfio.$(ObjSuf): \
240 Utilities/stdhep/stdhep_mcfio.c
241STDHEP_OBJ = \
242 tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf) \
243 tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf) \
244 tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf) \
245 tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf) \
246 tmp/Utilities/mcfio/mcf_NTuIOUtils.$(ObjSuf) \
247 tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf) \
248 tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf) \
249 tmp/Utilities/mcfio/mcf_NTuIOFiles.$(ObjSuf) \
250 tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf) \
251 tmp/Utilities/mcfio/mcf_ntubldInit.$(ObjSuf) \
252 tmp/Utilities/stdhep/mcf_hepev4_xdr.$(ObjSuf) \
253 tmp/Utilities/stdhep/mcf_stdcm1_xdr.$(ObjSuf) \
254 tmp/Utilities/stdhep/mcf_hepup_xdr.$(ObjSuf) \
255 tmp/Utilities/stdhep/mcf_Stdhep_xdr.$(ObjSuf) \
256 tmp/Utilities/stdhep/stdhep_internal_utils.$(ObjSuf) \
257 tmp/Utilities/stdhep/stdhep_mcfio.$(ObjSuf)
258
259Utilities/CDFCones/interface/MidPointAlgorithm.h: \
260 Utilities/CDFCones/interface/PhysicsTower.h \
261 Utilities/CDFCones/interface/Cluster.h
262 @touch $@
263
264interface/DataConverter.h: \
265 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
266 Utilities/ExRootAnalysis/interface/LHEF.h
267 @touch $@
268
269interface/HEPEVTConverter.h: \
270 Utilities/ExRootAnalysis/interface/BlockClasses.h \
271 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
272 Utilities/CDFCones/interface/PhysicsTower.h \
273 interface/DataConverter.h
274 @touch $@
275
276interface/SmearUtil.h: \
277 Utilities/ExRootAnalysis/interface/BlockClasses.h \
278 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
279 Utilities/CDFCones/interface/PhysicsTower.h
280 @touch $@
281
282interface/LHEFConverter.h: \
283 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
284 Utilities/ExRootAnalysis/interface/LHEF.h \
285 interface/DataConverter.h
286 @touch $@
287
288Utilities/CDFCones/interface/Cluster.h: \
289 Utilities/CDFCones/interface/PhysicsTower.h \
290 Utilities/CDFCones/interface/LorentzVector.h \
291 Utilities/CDFCones/interface/Centroid.h
292 @touch $@
293
294Utilities/CDFCones/interface/PhysicsTower.h: \
295 Utilities/CDFCones/interface/LorentzVector.h \
296 Utilities/CDFCones/interface/CalTower.h
297 @touch $@
298
299Utilities/CDFCones/interface/JetCluAlgorithm.h: \
300 Utilities/CDFCones/interface/PhysicsTower.h \
301 Utilities/CDFCones/interface/Cluster.h
302 @touch $@
303
304Utilities/CDFCones/interface/ClusterComparisons.h: \
305 Utilities/CDFCones/interface/Cluster.h
306 @touch $@
307
308Utilities/ExRootAnalysis/interface/BlockClasses.h: \
309 Utilities/ExRootAnalysis/interface/BlockCompare.h
310 @touch $@
311
312interface/STDHEPConverter.h: \
313 Utilities/ExRootAnalysis/interface/BlockClasses.h \
314 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
315 Utilities/CDFCones/interface/PhysicsTower.h \
316 Utilities/ExRootAnalysis/interface/LHEF.h \
317 interface/DataConverter.h
318 @touch $@
319
320
321
322###
323
324all: $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE)
325
326$(SHARED): $(DICT_OBJ) $(SOURCE_OBJ)
327 @mkdir -p $(@D)
328 @echo ">> Building $@"
329ifeq ($(ARCH),aix)
330 @/usr/ibmcxx/bin/makeC++SharedLib $(OutPutOpt) $@ $(LIBS) -p 0 $^
331else
332ifeq ($(ARCH),aix5)
333 @/usr/vacpp/bin/makeC++SharedLib $(OutPutOpt) $@ $(LIBS) -p 0 $^
334else
335ifeq ($(PLATFORM),macosx)
336# We need to make both the .dylib and the .so
337 @$(LD) $(SOFLAGS) $^ $(OutPutOpt) $@
338 @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ $(LIBS) $(OutPutOpt) $(subst .$(DllSuf),.so,$@)
339else
340ifeq ($(PLATFORM),win32)
341 @bindexplib $* $^ > $*.def
342 @lib -nologo -MACHINE:IX86 $^ -def:$*.def $(OutPutOpt)$(EVENTLIB)
343 @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $*.exp $(LIBS) $(OutPutOpt)$@
344 @$(MT_DLL)
345else
346 @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
347 @$(MT_DLL)
348endif
349endif
350endif
351endif
352
353clean:
354 @rm -f $(DICT_OBJ) $(SOURCE_OBJ) $(STDHEP_OBJ) core
355
356distclean: clean
357 @rm -f $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE)
358
359###
360
361.SUFFIXES: .$(SrcSuf) .$(ObjSuf) .$(DllSuf)
362
363%Dict.$(SrcSuf):
364 @mkdir -p $(@D)
365 @echo ">> Generating $@"
366 @rootcint -f $@ -c $<
367 @echo "#define private public" > $@.arch
368 @echo "#define protected public" >> $@.arch
369 @mv $@ $@.base
370 @cat $@.arch $< $@.base > $@
371 @rm $@.arch $@.base
372
373$(SOURCE_OBJ): tmp/%.$(ObjSuf): %.$(SrcSuf)
374 @mkdir -p $(@D)
375 @echo ">> Compiling $<"
376 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
377
378$(DICT_OBJ): %.$(ObjSuf): %.$(SrcSuf)
379 @mkdir -p $(@D)
380 @echo ">> Compiling $<"
381 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
382
383$(STDHEP_OBJ): tmp/%.$(ObjSuf): %.c
384 @mkdir -p $(@D)
385 @echo ">> Compiling $<"
386 @gcc $(CXXFLAGS) -c $< $(OutPutOpt)$@
387
388$(STDHEP_EXECUTABLE_OBJ): tmp/%.$(ObjSuf): %.cpp
389 @mkdir -p $(@D)
390 @echo ">> Compiling $<"
391 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
392
393$(EXECUTABLE_OBJ): tmp/%.$(ObjSuf): %.cpp
394 @mkdir -p $(@D)
395 @echo ">> Compiling $<"
396 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
397
398$(EXECUTABLE): %$(ExeSuf): $(DICT_OBJ) $(SOURCE_OBJ) $(STDHEP_OBJ)
399 @echo ">> Building $@"
400 @$(LD) $(LDFLAGS) $^ $(LIBS) $(OutPutOpt)$@
401
402###
403
404
Note: See TracBrowser for help on using the repository browser.