Geant4 Cross Reference |
>> 1 # $Id: GNUmakefile 68994 2013-04-15 09:17:20Z 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 := TestEm2 6 name := TestEm2 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: setup clean_setup all 14 all: lib bin << 15 all: hbook lib bin >> 16 >> 17 setup: >> 18 @echo "Copying files from common" >> 19 @$(G4INSTALL)/examples/extended/common/scripts/copy_files.sh >> 20 >> 21 clean_setup: >> 22 @echo "Removing files copied from common" >> 23 @$(G4INSTALL)/examples/extended/common/scripts/clean_files.sh >> 24 >> 25 #### G4_USE_HBOOK := true >> 26 include GNUmakefile.tools_hbook 15 27 16 include $(G4INSTALL)/config/architecture.gmk 28 include $(G4INSTALL)/config/architecture.gmk 17 29 18 include $(G4INSTALL)/config/binmake.gmk 30 include $(G4INSTALL)/config/binmake.gmk 19 31 >> 32 visclean: >> 33 rm -f g4*.prim g4*.eps g4*.wrl >> 34 rm -f .DAWN_*