+# -*- 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)
LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
SYSLIBS := $(LIBNOVER) -lcrypt -L/usr/local/lib -lXt -lCEPCF90 -lF90 \
- -lPEPCF90 -lintrins -L/usr/X11R6/lib -lX11
\ No newline at end of file
+ -lPEPCF90 -lintrins -L/usr/X11R6/lib -lX11