]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - build/Makefile.linuxalphagcc
Adopting the new LDC configuration @p2 for the SSD (Panos)
[u/mrichter/AliRoot.git] / build / Makefile.linuxalphagcc
index 76b879b0b1549ed61eb291abd2692f2d0560fa92..e8e4c1a8c6a5756b6208f6fc20f7432613bb2161 100644 (file)
@@ -6,9 +6,9 @@
 XARGS = xargs -r
 
 # The compilers
-CXX           = g++ 
-F77          = g77
-CC           = gcc
+CXX           = $(shell root-config --cxx)  
+F77          = $(shell root-config --f77) 
+CC           = $(shell root-config --cc) 
 CCMAJORV      = $(shell $(CC) -dumpversion | cut -d. -f1)
 CCMINORV      = $(shell $(CC) -dumpversion | cut -d. -f2)
 
@@ -39,7 +39,7 @@ DEPENDFFLAGS   = $(FFLAGS)
 # rootcint flags
 CINTFLAGS     = 
 
-LD            = g++
+LD            = $(shell root-config --ld) 
 LDFLAGS       = $(OPT) 
 
 SHLD         = $(LD)