]>
Commit | Line | Data |
---|---|---|
1 | # Sources | |
2 | SRCS:= TFluka.cxx source.cxx | |
3 | FSRCS:= FLUKA_input.f | |
4 | ||
5 | # Headers | |
6 | HDRS:= $(filter-out source.h,$(SRCS:.cxx=.h) ) | |
7 | ||
8 | # ROOT Dictionary | |
9 | DHDR:= TFlukaLinkDef.h | |
10 | ||
11 | # Extra includes and libraries | |
12 | EINCLUDE:= Flugg $(ALICE)/geant4_vmc/include $(G4INSTALL)/include $(CLHEP_BASE_DIR)/include | |
13 | ELIBSDIR:= $(FLUPRO) | |
14 | ELIBS := flukahp | |
15 | ||
16 | ###################### | |
17 | #Handle Geant4 flags | |
18 | ###################### | |
19 | ||
20 | # If G4DEBUG or G4NO_OPTIMISE are not specified, | |
21 | # the default compilation is optimised ... | |
22 | # | |
23 | ifdef G4DEBUG | |
24 | CXXFLAGS += -DG4DEBUG | |
25 | else | |
26 | ifndef G4NO_OPTIMISE | |
27 | CXXFLAGS += -DG4OPTIMISE | |
28 | endif | |
29 | endif | |
30 | # Verbosity code can be left out (for better performance) | |
31 | # by defining G4_NO_VERBOSE. | |
32 | # | |
33 | ifndef G4_NO_VERBOSE | |
34 | CXXFLAGS += -DG4VERBOSE | |
35 | endif | |
36 | # Trajectory related classes can be left out (for better performance) | |
37 | # by defining G4_NO_STORE_TRAJECTORY. | |
38 | # | |
39 | ifndef G4_NO_STORE_TRAJECTORY | |
40 | CPPFLAGS += -DG4_STORE_TRAJECTORY | |
41 | endif | |
42 | ||
43 | CXXFLAGS += -DGNU_GCC -DG4USE_STL -DG4USE_STD_NAMESPACE | |
44 | ||
45 | ||
46 |