XARGS = xargs -r
-# The compilers
-CXX = $(shell root-config --cxx)
-CC = $(shell root-config --cc)
CCMAJORV = $(shell $(CC) -dumpversion | cut -d. -f1)
CCMINORV = $(shell $(CC) -dumpversion | cut -d. -f2)
-F77 = $(shell root-config --f77)
# Global optimisation
-OPT = -O0 -g
+OPT = -O -g
NOOPT = -g
CXXOPT = $(OPT)
SHLIB += -L$(shell $(F77) --print-search-dirs | sed -n -e 's/install: //p') -lf95
else
ifneq (,$(findstring gfortran,$(F77)))
-SHLIB := $(shell $(F77) -print-file-name=libgfortran.so)
-SHLIB += $(shell $(F77) -print-file-name=libgfortranbegin.a)
+SHLIB := $(shell $(F77) -m32 -print-file-name=libgfortran.so)
+SHLIB += $(shell $(F77) -m32 -print-file-name=libgfortranbegin.a)
SYSLIBS += $(SHLIB)
else
SHLIB = -lg2c