1 # Makefile for AliRoot for Linux with the Intel icc compiler
10 ICC_MAJOR := $(shell $(CXX) -V 2>&1 | awk '{ if (NR==1) print $$8 }' | \
12 ICC_MINOR := $(shell $(CXX) -V 2>&1 | awk '{ if (NR==1) print $$8 }' | \
15 # The Fortran compiler
36 CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
41 # Common Fortran compilation flags
42 FFLAGS = $(CLIBFOPT) $(CLIBDEFS) $(FOPT)
48 SOFLAGS = -Wl,-soname,$$TMPLIB -shared $(OPT)
57 # additional ROOT libraries
60 # rmkdepend flags for building dependencies of FORTRAN files
61 DEPENDFFLAGS = $(FFLAGS)
63 LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
69 EXEFLAGS += -L/usr/local/lib -lXt
71 EXEFLAGS += -L$(shell which ifort | sed -e 's|bin/ifort|lib|') \
74 EXEFLAGS += -L$(shell which ifc | sed -e 's|bin/ifc|lib|') \
75 -lF90 -lCEPCF90 -lintrins