]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/Makefile
- AliMUONRecoParam.cxx:
[u/mrichter/AliRoot.git] / ANALYSIS / Makefile
index 127e948ff85e363ae676405c29ef45c2be008211..9ae14729e69535d63a277518ff1d5b43bc22f3c3 100644 (file)
@@ -1,7 +1,9 @@
 
 include $(ROOTSYS)/test/Makefile.arch
 
-default-target: libANALYSIS.so
+PACKAGE = ANALYSIS
+
+default-target: lib$(PACKAGE).so
 
 ALICEINC      = -I.
 
@@ -18,6 +20,10 @@ ifneq ($(STEERBase_INCLUDE),)
    ALICEINC += -I../$(STEERBase_INCLUDE)
 endif
 
+ifneq ($(ANALYSIS_INCLUDE),)
+   ALICEINC += -I../$(ANALYSIS_INCLUDE)
+endif
+
 # only if no par file was loaded before
 ifeq ($(ALICEINC),-I.)
   ifneq ($(ALICE_ROOT),)
@@ -27,7 +33,6 @@ endif
 
 CXXFLAGS     += $(ALICEINC) -g
 
-PACKAGE = ANALYSIS
 include lib$(PACKAGE).pkg
 
 DHDR_ANALYSIS := $(DHDR)
@@ -41,7 +46,7 @@ PARFILE       = $(PACKAGE).par
 lib$(PACKAGE).so: $(OBJS_ANALYSIS)
        @echo "Linking" $@ ...
        @/bin/rm -f $@
-ifeq ($(PLATFORM),macosx)
+ifeq ($(ARCH),macosx)
        @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ -o $@
 else
        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ -o $@