8 ICC_MAJOR := $(shell $(CXX) -V 2>&1 | awk '{ if (NR==1) print $$8 }' | \
10 ICC_MINOR := $(shell $(CXX) -V 2>&1 | awk '{ if (NR==1) print $$8 }' | \
13 # The Fortran compiler
34 CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
39 # Common Fortran compilation flags
40 FFLAGS = $(CLIBFOPT) $(CLIBDEFS) $(FOPT)
46 SOFLAGS = -Wl,-soname,$$TMPLIB -shared $(OPT)
55 # additional ROOT libraries
58 # rmkdepend flags for building dependencies of FORTRAN files
59 DEPENDFFLAGS = $(FFLAGS)
61 LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
67 EXEFLAGS += -L/usr/local/lib -lXt
69 EXEFLAGS += -L$(shell which ifort | sed -e 's|bin/ifort|lib|') \
72 EXEFLAGS += -L$(shell which ifc | sed -e 's|bin/ifc|lib|') \
73 -lF90 -lCEPCF90 -lintrins