]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - Makefile
CRT replces CASTOR
[u/mrichter/AliRoot.git] / Makefile
index 7fa3eefaf3f129e7bd16a540cd1878e7ad80782c..ac39ea91be29d004ae675e294cfd6f8bc1dbdc24 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,10 +18,12 @@ PRETTY =  $(AWK) '{print $$0 substr($(DOTS),1,79-length($$0))}'
 ##### Module libraries #####
 
 ALIROOT_DIRS           = STEER TGeant3 TRD PHOS TPC ZDC MUON PMD FMD TOF ITS \
-                         CASTOR RICH START STRUCT EVGEN RALICE ALIFAST THijing CONTAINERS 
+                         CRT RICH START STRUCT EVGEN RALICE ALIFAST \
+                         THijing CONTAINERS MEVSIM TMEVSIM THbtp HBTP \
+                          EMCAL HBTAN VZERO
 
 ##### TARGETS #####
+
 default:      lib bin alilibs aliroot
 
 lib bin:
@@ -49,7 +51,7 @@ aliroot geant321 minicern pdf pythia6 hijing: FORCE
        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;\
@@ -60,6 +62,13 @@ cernlibs: geant321 pythia6 minicern pdf hijing
 
 geant4: TGeant4 AliGeant4
 
+Flugg: FORCE
+       @DIR=$@; \
+       echo "Making in $$DIR" | $(PRETTY); \
+       ${MAKE} -C $$DIR/source
+
+fluka:  Flugg TGeant4 AliGeant4 AliFluka
+
 all:   cernlibs default
 
 FORCE:
@@ -137,9 +146,15 @@ htmldoc:           FORCE
 
 clean:  FORCE
                @rm -f *~ \#*
-               @for i in $(ALIROOT_DIRS) ALIROOT ; do \
+               @rm -f include/*
+               @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 *~ \#*