##### Module libraries #####
ALIROOT_DIRS = STEER TGeant3 TRD PHOS TPC ZDC MUON PMD FMD TOF ITS \
- CASTOR RICH START STRUCT EVGEN RALICE ALIFAST THijing CONTAINERS
+ CASTOR RICH START STRUCT EVGEN RALICE ALIFAST \
+ THijing CONTAINERS MEVSIM TMEVSIM THbtp HBTP EMCAL HBTAN
##### TARGETS #####
echo "Making in $$DIR" | $(PRETTY); \
${MAKE} -C $$DIR
-TGeant4 AliGeant4: FORCE
+TGeant4 AliGeant4 AliFluka : FORCE
@DIR=$@; \
echo "Making dependencies in $$DIR" | $(PRETTY); \
${MAKE} -C $$DIR depend;\
geant4: TGeant4 AliGeant4
+Flugg: FORCE
+ @DIR=$@; \
+ echo "Making in $$DIR" | $(PRETTY); \
+ ${MAKE} -C $$DIR/source
+
+fluka: Flugg TGeant4 AliGeant4 AliFluka
+
all: cernlibs default
FORCE:
clean: FORCE
@rm -f *~ \#*
@rm -f include/*
- @for i in $(ALIROOT_DIRS) ALIROOT ; do \
+ @for i in $(ALIROOT_DIRS) ALIROOT; do \
${MAKE} -C $$i macroclean ; \
done
+ ifdef G4INSTALL
+ @for i in TGeant4 AliGeant4; do \
+ ${MAKE} -C $$i macroclean ; \
+ done
+ endif
libclean: FORCE
@rm -f *~ \#*