b9d0a01d |
1 | # Sources |
59336e50 |
2 | SRCS:= TFluka.cxx source.cxx |
b9d0a01d |
3 | FSRCS:= FLUKA_input.f |
03ca248b |
4 | |
b9d0a01d |
5 | # Headers |
6 | HDRS:= $(filter-out source.h,$(SRCS:.cxx=.h) ) |
03ca248b |
7 | |
b9d0a01d |
8 | # ROOT Dictionary |
9 | DHDR:= TFlukaLinkDef.h |
10 | |
11 | # Extra includes and libraries |
84f4e7af |
12 | EINCLUDE:= Flugg $(ALICE)/geant4_vmc/include $(G4INSTALL)/include $(CLHEP_BASE_DIR)/include |
b9d0a01d |
13 | ELIBSDIR:= $(FLUPRO) |
14 | ELIBS := flukahp |
1e24af3b |
15 | |
37ec2ef5 |
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 | |