+# -*- mode: makefile -*-
# Makefile for AliRoot for Itanium/Linux with Intel icc compiler
# System dependent commands
XARGS = xargs -r
# The compilers
-CXX = icc
-F77 = ifort
-CC = icc
+CXX = $(shell root-config --cxx)
+F77 = $(shell root-config --f77)
+CC = $(shell root-config --cc)
# Global optimisation
OPT = -g #-O
# rootcint flags
CINTFLAGS =
-LD = icpc
+LD = $(shell root-config --ld)
LDFLAGS = $(OPT)
SHLD = $(LD)