Geant4 Cross Reference |
>> 1 # $Id: GNUmakefile 85989 2014-11-06 15:40:05Z gcosmo $ 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 >> 14 # HBOOK support >> 15 # >> 16 #### G4_USE_HBOOK := true >> 17 13 .PHONY: setup clean_setup all 18 .PHONY: setup clean_setup all 14 all: lib bin << 19 all: hbook lib bin 15 20 16 setup: 21 setup: 17 @echo "Copying files from shared" << 22 @echo "Copying files from shared and hbook" 18 @./shared/scripts/copy_files.sh shared 23 @./shared/scripts/copy_files.sh shared >> 24 ifdef G4_USE_HBOOK >> 25 @./shared/scripts/copy_files.sh hbook >> 26 endif 19 27 20 clean_setup: 28 clean_setup: 21 @echo "Removing files copied from shared" << 29 @echo "Removing files copied from shared and hbook" 22 @./shared/scripts/clean_files.sh shared 30 @./shared/scripts/clean_files.sh shared >> 31 ifdef G4_USE_HBOOK >> 32 @./shared/scripts/clean_files.sh hbook >> 33 endif >> 34 >> 35 include hbook/GNUmakefile.tools_hbook 23 36 24 include $(G4INSTALL)/config/binmake.gmk 37 include $(G4INSTALL)/config/binmake.gmk 25 38 26 CPPFLAGS += -I./shared/include 39 CPPFLAGS += -I./shared/include 27 40 28 visclean: 41 visclean: 29 rm -f g4*.prim g4*.eps g4*.wrl 42 rm -f g4*.prim g4*.eps g4*.wrl 30 rm -f .DAWN_* 43 rm -f .DAWN_* 31 44 32 histclean: 45 histclean: 33 rm ${G4WORKDIR}/tmp/${G4SYSTEM}/${G4TARGET}/ 46 rm ${G4WORKDIR}/tmp/${G4SYSTEM}/${G4TARGET}/HistoManager.o >> 47 rm ${G4WORKDIR}/tmp/${G4SYSTEM}/${G4TARGET}/ExG4HbookAnalysisManager.o