Updated instructions according to the suggestions/findings from Federico
[u/mrichter/AliRoot.git] / TFluka / libTFluka.pkg
CommitLineData
b9d0a01d 1# Sources
2SRCS:= TFluka.cxx AliFluka.cxx \
3 source.cxx
4FSRCS:= FLUKA_input.f
03ca248b 5
b9d0a01d 6# Headers
7HDRS:= $(filter-out source.h,$(SRCS:.cxx=.h) )
03ca248b 8
b9d0a01d 9# ROOT Dictionary
10DHDR:= TFlukaLinkDef.h
11
12# Extra includes and libraries
84f4e7af 13EINCLUDE:= Flugg $(ALICE)/geant4_vmc/include $(G4INSTALL)/include $(CLHEP_BASE_DIR)/include
b9d0a01d 14ELIBSDIR:= $(FLUPRO)
15ELIBS := 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#
24ifdef G4DEBUG
25 CXXFLAGS += -DG4DEBUG
26else
27 ifndef G4NO_OPTIMISE
28 CXXFLAGS += -DG4OPTIMISE
29 endif
30endif
31# Verbosity code can be left out (for better performance)
32# by defining G4_NO_VERBOSE.
33#
34ifndef G4_NO_VERBOSE
35 CXXFLAGS += -DG4VERBOSE
36endif
37# Trajectory related classes can be left out (for better performance)
38# by defining G4_NO_STORE_TRAJECTORY.
39#
40ifndef G4_NO_STORE_TRAJECTORY
41 CPPFLAGS += -DG4_STORE_TRAJECTORY
42endif
43
44CXXFLAGS += -DGNU_GCC -DG4USE_STL -DG4USE_STD_NAMESPACE
45
46
47