Geant4 Cross Reference |
1 name := cloud << 1 # $Id: GNUmakefile,v 1.8 2010/11/29 10:38:17 gcosmo Exp $ 2 G4TARGET := $(name) << 2 # -------------------------------------------------------------- 3 G4EXLIB := true << 3 # GNUmakefile for examples module. Gabriele Cosmo, 06/04/98. >> 4 # -------------------------------------------------------------- 4 5 5 ifndef G4INSTALL 6 ifndef G4INSTALL 6 G4INSTALL = ../../.. << 7 G4INSTALL = ../.. 7 endif 8 endif >> 9 >> 10 include $(G4INSTALL)/config/architecture.gmk 8 11 9 .PHONY: all << 12 SUBDIRS = gammaray_telescope underground_physics xray_fluorescence xray_telescope 10 all: lib bin << 13 SUBDIRS += brachytherapy hadrontherapy medical_linac >> 14 SUBDIRS += purging_magnet radioprotection human_phantom >> 15 SUBDIRS += air_shower microbeam microdosimetry nanobeam >> 16 SUBDIRS += Rich composite_calorimeter lAr_calorimeter >> 17 SUBDIRS += amsEcal ChargeExchangeMC eRosita 11 18 12 include $(G4INSTALL)/config/binmake.gmk << 19 .PHONY : all clean clean_libs 13 20 14 visclean: << 21 all: 15 rm -f g4*.prim g4*.eps g4*.wrl << 22 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE)); done 16 rm -f .DAWN_* << 17 23 >> 24 clean: >> 25 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE) clean); done >> 26 >> 27 clean_libs: >> 28 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE) clean_libs); done