Adding profile target (Linux with gcc and icc)
[u/mrichter/AliRoot.git] / build / Makefile.icc
CommitLineData
db5a919c 1PLATFORM:=linuxicc
2
3# The compilers
4CXX = icc
5F77 = ifc
6CC = icc
7
8# Global optimisation
9OPT = -O -g
10
11CXXOPTS = $(OPT)
12COPT = $(OPT)
13FOPT = $(OPT)
14CXXFLAGS = $(CXXOPTS)
15CFLAGS = $(COPT)
16
17# rootcint flags
18CINTFLAGS = #$(CXXFLAGS)
19
20# CERNLIB defines
21
22CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
23CLIBCXXOPTS =
24CLIBCOPT =
25CLIBFOPT =
26
27# Common Fortran compilation flags
28FFLAGS = $(CLIBFOPT) $(CLIBDEFS) $(FOPT)
29
30LD = icc
31LDFLAGS = $(OPT)
32
33SHLD = $(LD)
34SOFLAGS = -Wl,-soname,$(notdir $@) -shared -O
35SHLIB =
36SOEXT = so
37
2d8cad5a 38ALLD = ar
39ALFLAGS = cr
40ALLIB =
41AEXT = a
42
db5a919c 43# additional ROOT libraries
44ROOTLIBS += -lcrypt
45
46# rmkdepend flags for building dependencies of FORTRAN files
47DEPENDFFLAGS = $(FFLAGS)
48
49LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
2d8cad5a 50GLIBS = $(LIBNOVER)
db5a919c 51
52#System libraries
53SYSLIBS =
54
55EXEFLAGS+= -L/usr/local/lib -lXt -lCEPCF90 -lF90 -lPEPCF90 -lintrins
56
57
58
59