Geant4 Cross Reference |
1 name := cloud << 1 # $Id: GNUmakefile,v 1.7 2009/11/20 16:17:52 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 11 17 12 include $(G4INSTALL)/config/binmake.gmk << 18 .PHONY : all clean clean_libs 13 19 14 visclean: << 20 all: 15 rm -f g4*.prim g4*.eps g4*.wrl << 21 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE)); done 16 rm -f .DAWN_* << 17 22 >> 23 clean: >> 24 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE) clean); done >> 25 >> 26 clean_libs: >> 27 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE) clean_libs); done