# -*- mode: makefile -*- # $Id$ # Linux platform dependent definitions # The compilers CXX = $(shell root-config --cxx) CC = $(shell root-config --cc) F77 = $(shell root-config --f77) # Global optimisation OPT = -g #-O # Shared library suffix SL = so # AWK AWK = awk # The options # # starting from root.2.22 on Linux the flags -fno-rtti -fno-exceptions are # not necessary any more # CXXOPTS = $(OPT) -std=c++11 -Wall -fPIC -pipe COPT = $(OPT) -fPIC FOPT = $(OPT) -fno-second-underscore -fno-f2c # CERNLIB defines CLIBDEFS = -DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ CLIBCXXOPTS = $(CLIBDEFS) CLIBCOPT = $(CLIBDEFS) CLIBFOPT = $(CLIBDEFS) LD = $(shell root-config --ld) LDFLAGS = $(OPT) SHLD = $(LD) SOFLAGS = -Wl,-soname,$(notdir $@) -shared SHLIB = -lg2c