]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - build/Makefile.win32gcc
1. Adding ARVersion.h as a prerequisite for the DA targets, allows to build the DA...
[u/mrichter/AliRoot.git] / build / Makefile.win32gcc
index 6734c6c68a056d67357687c7af05eacb86b4f16e..b4a8d8e251ce3fd55cccaf42a300637bb2c540d9 100644 (file)
@@ -1,3 +1,4 @@
+# -*- mode: makefile -*-
 # Makefile to build AliRoot for Linux
 
 # System dependent commands
@@ -5,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)
 
@@ -37,7 +38,7 @@ DEPENDFFLAGS   = $(FFLAGS)
 # rootcint flags
 CINTFLAGS     = 
 
-LD            = g++
+LD            = $(shell root-config --ld)
 LDFLAGS       = $(OPT) 
 
 SHLD         = $(LD)