]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - Makefile
Fixing Coverity UNINIT defect
[u/mrichter/AliRoot.git] / Makefile
index bd20e4919c1d2928f4373cc90d3da3d83e49b0a9..52e7b2a99e4871af1ec61bbd6b35de96aea01591 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -66,7 +66,7 @@ endif
 # Check if DATE is installed
 
 ifeq ($(shell which date-config 2>/dev/null),)
-DATEFLAGS := -D`uname` -DDATE_SYS=`uname` -Dlong32='int' \
+DATEFLAGS := -D$(shell uname) -DDATE_SYS=$(shell uname) -Dlong32='int' \
              -Dlong64='long long' -DdatePointer='long'
 DMONLIBS  :=
 else 
@@ -167,7 +167,7 @@ MODDIRS := $(MODULES)
 # Default include dirs for C++, Fortran, Cint, and dependencies
 # The module directory will be added by each module
 
-GENINC     := -Iinclude -isystem$(shell root-config --incdir)
+GENINC     := -I$(ALICE_ROOT)/include -isystem$(shell root-config --incdir)
 RCFLAGS    := $(shell root-config --auxcflags) 
 RLFLAGS    := $(shell root-config --ldflags)
 CXXFLAGS   += $(GENINC) $(RCFLAGS)