Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-23 09:21:19

0001 # --------------------------------------------------------------
0002 # GNUmakefile for examples module
0003 # with use of classes from common repository.
0004 # --------------------------------------------------------------
0005 
0006 name := clGeometry
0007 
0008 G4TARGET := $(name)
0009 G4EXLIB := true
0010 SUBDIRS := common
0011 
0012 ifndef G4INSTALL
0013   G4INSTALL = ../../../..
0014 endif
0015 
0016 .PHONY: all makesub clean cleansub
0017 all: makesub lib bin
0018 
0019 include $(G4INSTALL)/config/binmake.gmk
0020 
0021 CPPFLAGS += -I./common/include
0022 
0023 makesub:
0024         @for dir in $(SUBDIRS); do ( \
0025         echo Entering $$dir ... ; \
0026         cd $$dir; \
0027         $(MAKE) obj name=clGeometry );\
0028         done
0029 
0030 clean:: cleansub
0031 
0032 cleansub:
0033         @for dir in $(SUBDIRS); do ( \
0034         echo Entering $$dir ...; \
0035         cd $$dir; \
0036         $(MAKE) clean );\
0037         done