Geant4 Cross Reference |
>> 1 # $Id: GNUmakefile,v 1.4 2010-11-08 10:38:44 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 := AnaEx01 6 name := AnaEx01 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: setup clean_setup all 14 .PHONY: setup clean_setup all 14 all: lib bin << 15 all: hbook lib bin 15 16 16 setup: 17 setup: 17 @echo "Copying files from shared" << 18 @echo "Copying files from common" 18 @./shared/scripts/copy_files.sh shared << 19 @$(G4INSTALL)/examples/extended/common/scripts/copy_files.sh 19 << 20 20 clean_setup: 21 clean_setup: 21 @echo "Removing files copied from shared" << 22 @echo "Removing files copied from common" 22 @./shared/scripts/clean_files.sh shared << 23 @$(G4INSTALL)/examples/extended/common/scripts/clean_files.sh >> 24 >> 25 # HBOOK support >> 26 # >> 27 #### G4_USE_HBOOK := true >> 28 include GNUmakefile.tools_hbook 23 29 24 include $(G4INSTALL)/config/binmake.gmk 30 include $(G4INSTALL)/config/binmake.gmk 25 31 26 CPPFLAGS += -I./shared/include << 27 32 28 visclean: 33 visclean: 29 rm -f g4*.prim g4*.eps g4*.wrl 34 rm -f g4*.prim g4*.eps g4*.wrl 30 rm -f .DAWN_* 35 rm -f .DAWN_* 31 36 32 histclean: 37 histclean: 33 rm ${G4WORKDIR}/tmp/${G4SYSTEM}/${G4TARGET}/ 38 rm ${G4WORKDIR}/tmp/${G4SYSTEM}/${G4TARGET}/HistoManager.o >> 39 rm ${G4WORKDIR}/tmp/${G4SYSTEM}/${G4TARGET}/ExG4HbookAnalysisManager.o