Allow for make STEERBase-test, need to include ALICE_ROOT/include path
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Aug 2008 16:12:51 +0000 (16:12 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Aug 2008 16:12:51 +0000 (16:12 +0000)
STEER/Makefile

index 9f9057e..2baec91 100644 (file)
@@ -21,6 +21,16 @@ ifneq ($(STEERBase_INCLUDE),)
    ALICEINC += -I../$(STEERBase_INCLUDE)
 endif
 
+# only if no par file was loaded before
+ifeq ($(ALICEINC),-I.)
+  ifneq ($(ALICE_ROOT),)
+    ALICEINC += -I$(ALICE_ROOT)/include
+  endif
+endif
+
+
+
+
 CXXFLAGS += $(ALICEINC) -g
 
 SRCS         += G__$(PACKAGE).cxx