- Makefile for .par targets corrected to include both ANALYSIS and ANALYSISalice
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Mar 2008 16:48:24 +0000 (16:48 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Mar 2008 16:48:24 +0000 (16:48 +0000)
ANALYSIS/Makefile

index 127e948..c10292b 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)