Geant4 Cross Reference |
>> 1 # $Id: GNUmakefile,v 1.2 2006/05/24 12:58:49 maire Exp $ 1 # -------------------------------------------- 2 # -------------------------------------------------------------- 2 # GNUmakefile for examples module. Gabriele C 3 # GNUmakefile for examples module. Gabriele Cosmo, 06/04/98. 3 # -------------------------------------------- 4 # -------------------------------------------------------------- 4 5 5 name := TestEm16 6 name := TestEm16 6 G4TARGET := $(name) 7 G4TARGET := $(name) 7 G4EXLIB := true 8 G4EXLIB := true 8 9 9 ifndef G4INSTALL 10 ifndef G4INSTALL 10 G4INSTALL = ../../../.. 11 G4INSTALL = ../../../.. 11 endif 12 endif 12 13 13 .PHONY: all 14 .PHONY: all 14 all: lib bin 15 all: lib bin 15 16 >> 17 #### G4ANALYSIS_USE := true >> 18 >> 19 ifdef G4ANALYSIS_USE >> 20 CPPFLAGS += -DG4ANALYSIS_USE >> 21 endif >> 22 16 include $(G4INSTALL)/config/architecture.gmk 23 include $(G4INSTALL)/config/architecture.gmk 17 24 >> 25 ifdef G4ANALYSIS_USE >> 26 # add -v to see what is going on. >> 27 # add RunAction.o such that the linker finds AIDA_createAnalysisFactory >> 28 # for the aida-config command see the README file >> 29 CPPFLAGS += `aida-config --include` >> 30 LDFLAGS += $(G4WORKDIR)/tmp/$(G4SYSTEM)/TestEm16/RunAction.o `aida-config --lib` >> 31 endif >> 32 18 include $(G4INSTALL)/config/binmake.gmk 33 include $(G4INSTALL)/config/binmake.gmk 19 34 20 histclean: 35 histclean: 21 rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGE << 36 rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/RunAction.o >> 37 rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/SteppingAction.o 22 38 23 visclean: 39 visclean: 24 rm -f g4*.prim g4*.eps g4*.wrl 40 rm -f g4*.prim g4*.eps g4*.wrl 25 rm -f .DAWN_* 41 rm -f .DAWN_*