Geant4 Cross Reference |
1 # -------------------------------------------- 1 # -------------------------------------------------------------- 2 # GNUmakefile for examples module. 2 # GNUmakefile for examples module. >> 3 # Author: Giorgio Guerrieri >> 4 # Date: 14/06/2005. 3 # -------------------------------------------- 5 # -------------------------------------------------------------- 4 6 5 name := phantom 7 name := phantom 6 G4TARGET := $(name) 8 G4TARGET := $(name) 7 G4EXLIB := true 9 G4EXLIB := true 8 10 >> 11 ifndef SCRAM_ARCH >> 12 SCRAM_ARCH := slc3_ia32_gcc323 >> 13 endif >> 14 9 ifndef G4INSTALL 15 ifndef G4INSTALL 10 G4INSTALL = ../.. << 16 G4INSTALL = ../../.. >> 17 endif >> 18 >> 19 ifndef GDML_BASE >> 20 # GDML_BASE := /afs/cern.ch/sw/lcg/app/releases/GDML/pro >> 21 GDML_BASE := /local/GDML_2_8_0 >> 22 endif >> 23 >> 24 CPPFLAGS += \ >> 25 -I$(GDML_BASE)/include \ >> 26 -I$(XERCESCROOT)/include >> 27 >> 28 ifdef G4ANALYSIS_USE >> 29 CPPFLAGS += \ >> 30 `aida-config --include` >> 31 endif >> 32 >> 33 EXTRALIBS += \ >> 34 -L$(GDML_BASE)/$(SCRAM_ARCH)/lib \ >> 35 -lG4Processor \ >> 36 -lG4Subscribers \ >> 37 -lG4Processor \ >> 38 -lG4Evaluator\ >> 39 -lG4Writer \ >> 40 -L$(GDML_BASE)/$(SCRAM_ARCH)/lib \ >> 41 -lSaxana \ >> 42 -lProcesses \ >> 43 -lWriter \ >> 44 -L$(XERCESCROOT)/lib -lxerces-c >> 45 >> 46 ifdef G4ANALYSIS_USE >> 47 EXTRALIBS += \ >> 48 `aida-config --lib` 11 endif 49 endif 12 50 13 .PHONY: all 51 .PHONY: all 14 all: lib bin 52 all: lib bin 15 53 16 include $(G4INSTALL)/config/binmake.gmk 54 include $(G4INSTALL)/config/binmake.gmk 17 55 18 visclean: 56 visclean: 19 rm -f g4*.prim g4*.eps g4*.wrl 57 rm -f g4*.prim g4*.eps g4*.wrl 20 rm -f .DAWN_* 58 rm -f .DAWN_*