]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 9f9057e6fec5f609ad791edd4d91c030dab1238b..2baec91a88499c0676aa2c9e9489d180b7f9f741 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