Geant4 Cross Reference |
>> 1 # $Id: GNUmakefile,v 1.1 1999/01/07 16:05:16 gunter Exp $ 1 # -------------------------------------------- 2 # -------------------------------------------------------------- 2 # GNUmakefile for examples module. Gabriele C 3 # GNUmakefile for examples module. Gabriele Cosmo, 06/04/98. 3 # -------------------------------------------- 4 # -------------------------------------------------------------- 4 5 5 ifndef G4INSTALL 6 ifndef G4INSTALL 6 G4INSTALL = .. 7 G4INSTALL = .. 7 endif 8 endif 8 9 9 include $(G4INSTALL)/config/architecture.gmk 10 include $(G4INSTALL)/config/architecture.gmk 10 11 11 SUBDIRS = basic #extended #advanced << 12 SUBDIRS = novice #extended #advanced 12 13 13 .PHONY : all clean clean_libs 14 .PHONY : all clean clean_libs 14 15 15 all: 16 all: 16 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE 17 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE)); done 17 18 18 clean: 19 clean: 19 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE 20 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE) clean); done 20 21 21 clean_libs: 22 clean_libs: 22 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE 23 @for dir in $(SUBDIRS); do (cd $$dir; $(MAKE) clean_libs); done