]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - build/Makefile.linuxia64gcc
1 object for all runs
[u/mrichter/AliRoot.git] / build / Makefile.linuxia64gcc
index e92758d31a2a1af692d122d7865b1b3944e8784a..b905da32ea1e9de6fba98ef4f55ee6d11b5613ac 100644 (file)
@@ -1,14 +1,10 @@
+# -*- mode: makefile -*-
 # Makefile for AliRoot for Itanium/Linux with gcc
 
 # System dependent commands
 
 XARGS = xargs -r
 
-# The compilers
-CXX           = g++ 
-F77          = g77
-CC           = gcc
-
 # Global optimisation
 OPT           = -g -O
 NOOPT         = -g
@@ -25,8 +21,11 @@ CLIBCOPT      =
 CLIBFOPT      = $(CLIBDEFS)
 
 # Compiler flags
-CXXFLAGS      = $(CXXOPT)  -Wall -Weffc++ -fPIC -pipe
-CXXFLAGSNO    = $(CXXNOOPT)  -Wall -Weffc++ -fPIC -pipe
+
+CXXWARN              = -Wall -Wno-long-long -W -Weffc++ -Wshadow -Woverloaded-virtual -ansi
+
+CXXFLAGS      = $(CXXOPT)   -fPIC -pipe
+CXXFLAGSNO    = $(CXXNOOPT) -fPIC -pipe
 CFLAGS       = -Wall -fPIC -pipe
 FFLAGS        = $(CLIBFOPT) $(FOPT) -fno-second-underscore
 # rmkdepend flags for building dependencies of FORTRAN files
@@ -35,7 +34,7 @@ DEPENDFFLAGS = $(FFLAGS)
 # rootcint flags
 CINTFLAGS     = 
 
-LD            = g++
+LD            = $(shell root-config --ld)
 LDFLAGS       = $(OPT) -Wl,-Map -Wl,$@.map
 
 SHLD         = $(LD)