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