Geant4 Cross Reference |
1 # -------------------------------------------- 1 # -------------------------------------------------------------- 2 # GNUmakefile for examples module. Gabriele C 2 # GNUmakefile for examples module. Gabriele Cosmo, 06/04/98. 3 # -------------------------------------------- 3 # -------------------------------------------------------------- 4 4 5 name := AnaEx01 5 name := AnaEx01 6 G4TARGET := $(name) 6 G4TARGET := $(name) 7 G4EXLIB := true 7 G4EXLIB := true 8 8 9 ifndef G4INSTALL 9 ifndef G4INSTALL 10 G4INSTALL = ../../.. 10 G4INSTALL = ../../.. 11 endif 11 endif 12 12 13 .PHONY: setup clean_setup all 13 .PHONY: setup clean_setup all 14 all: lib bin 14 all: lib bin 15 15 16 setup: 16 setup: 17 @echo "Copying files from shared" 17 @echo "Copying files from shared" 18 @./shared/scripts/copy_files.sh shared 18 @./shared/scripts/copy_files.sh shared 19 19 20 clean_setup: 20 clean_setup: 21 @echo "Removing files copied from shared" 21 @echo "Removing files copied from shared" 22 @./shared/scripts/clean_files.sh shared 22 @./shared/scripts/clean_files.sh shared 23 23 24 include $(G4INSTALL)/config/binmake.gmk 24 include $(G4INSTALL)/config/binmake.gmk 25 25 26 CPPFLAGS += -I./shared/include 26 CPPFLAGS += -I./shared/include 27 27 28 visclean: 28 visclean: 29 rm -f g4*.prim g4*.eps g4*.wrl 29 rm -f g4*.prim g4*.eps g4*.wrl 30 rm -f .DAWN_* 30 rm -f .DAWN_* 31 31 32 histclean: 32 histclean: 33 rm ${G4WORKDIR}/tmp/${G4SYSTEM}/${G4TARGET}/ 33 rm ${G4WORKDIR}/tmp/${G4SYSTEM}/${G4TARGET}/HistoManager.o