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 ifndef G4INSTALL 5 ifndef G4INSTALL 6 G4INSTALL = ../.. 6 G4INSTALL = ../.. 7 endif 7 endif 8 8 9 include $(G4INSTALL)/config/architecture.gmk 9 include $(G4INSTALL)/config/architecture.gmk 10 10 11 SUBDIRS = B1 B2/B2a B2/B2b B3/B3a B3/B3b B4/B4 11 SUBDIRS = B1 B2/B2a B2/B2b B3/B3a B3/B3b B4/B4a B4/B4b B4/B4c B4/B4d B5 12 12 13 .PHONY : all clean clean_libs 13 .PHONY : all clean clean_libs 14 14 15 all: 15 all: 16 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE 16 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE)); done 17 17 18 clean: 18 clean: 19 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE 19 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE) clean); done 20 20 21 clean_libs: 21 clean_libs: 22 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE 22 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE) clean_libs); done