# Makefile for AliRoot for Linux with the Intel icc compiler
+# System dependent commands
+
+XARGS = xargs -r
+
# The compilers
CXX = icc
CC = icc
AEXT = a
# additional ROOT libraries
-ROOTLIBS += -lcrypt
LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
-GLIBS = $(LIBNOVER)
#System libraries
-SYSLIBS =
-
-EXEFLAGS += -L/usr/local/lib -lXt
-EXEFLAGS += -L$(shell which ifort | sed -e 's|bin/ifort|lib|') \
+SYSLIBS := -lcrypt -L/usr/X11R6/lib -lX11 $(LIBNOVER) -L/usr/local/lib \
+ -lXt -L$(shell which ifort | sed -e 's|bin/ifort|lib|') \
-lifcore -lifport