File indexing completed on 2025-02-24 09:27:20
0001
0002
0003
0004
0005
0006
0007 name := eRosita
0008
0009 G4TARGET := $(name)
0010 G4EXLIB := true
0011 SUBDIRS := application
0012
0013
0014
0015
0016
0017
0018 ifndef G4INSTALL
0019 G4INSTALL = ../..
0020 endif
0021
0022 ifdef G4ANALYSIS_USE
0023 CPPFLAGS += `aida-config --include`
0024 LDFLAGS += `aida-config --lib`
0025 LOADLIBS += `aida-config --lib`
0026 endif
0027
0028 CPPFLAGS += -I./physics/include \
0029 -I./application/include
0030
0031 .PHONY: all makesub clean cleansub
0032 all: makesub lib bin
0033
0034 include $(G4INSTALL)/config/binmake.gmk
0035
0036 makesub:
0037 @for dir in $(SUBDIRS); do ( \
0038 echo Entering $$dir ... ; \
0039 cd $$dir; \
0040 $(MAKE) obj );\
0041 done
0042
0043 clean:: cleansub
0044
0045 cleansub:
0046 @for dir in $(SUBDIRS); do ( \
0047 echo Entering $$dir ...; \
0048 cd $$dir; \
0049 $(MAKE) clean );\
0050 done