Adding a missing slash
[u/mrichter/AliRoot.git] / build / Makefile.linuxicc
CommitLineData
b934f194 1# Makefile for AliRoot for Linux with the Intel icc compiler
2
1400ecf6 3# The compilers
4CXX = icc
5CC = icc
6
02a1d5c1 7# Compiler version:
8ICC_MAJOR := $(shell $(CXX) -V 2>&1 | awk '{ if (NR==1) print $$8 }' | \
9 cut -d'.' -f1)
10ICC_MINOR := $(shell $(CXX) -V 2>&1 | awk '{ if (NR==1) print $$8 }' | \
11 cut -d'.' -f2)
12
02a1d5c1 13F77 = ifort
02a1d5c1 14
15# Global optimisation
1400ecf6 16OPT = -O -ip
17NOOPT = -O0
02a1d5c1 18
19ca05d1 19CXXOPT = $(OPT)
20CXXNOOPT = $(NOOPT)
02a1d5c1 21COPT = $(OPT)
22FOPT = $(OPT)
02a1d5c1 23
24# CERNLIB defines
02a1d5c1 25CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
26CLIBCXXOPTS =
27CLIBCOPT =
19ca05d1 28CLIBFOPT = $(CLIBDEFS)
29
30# Compiler flags
31CXXFLAGS = $(CXXOPT)
32CXXFLAGSNO = $(CXXNOOPT)
33CFLAGS = $(COPT)
34FFLAGS = $(CLIBFOPT) $(FOPT)
35# rmkdepend flags for building dependencies of FORTRAN files
36DEPENDFFLAGS = $(FFLAGS)
02a1d5c1 37
19ca05d1 38# rootcint flags
39CINTFLAGS =
02a1d5c1 40
f393d8ab 41LD = icpc
02a1d5c1 42LDFLAGS = $(OPT)
43
44SHLD = $(LD)
45SOFLAGS = -Wl,-soname,$$TMPLIB -shared $(OPT)
46SHLIB =
47SOEXT = so
48
49ALLD = ar
50ALFLAGS = cr
51ALLIB =
52AEXT = a
53
54# additional ROOT libraries
02a1d5c1 55
02a1d5c1 56LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
02a1d5c1 57
58#System libraries
de6c7cfd 59SYSLIBS := -lcrypt -L/usr/X11R6/lib -lX11 $(LIBNOVER) -L/usr/local/lib \
65d45739 60 -lXt -L$(shell which ifort | sed -e 's|bin/ifort|lib|') \
1400ecf6 61 -lifcore -lifport