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