Commit bfcd0ad9 authored by Marian Heil's avatar Marian Heil

Allow overwrite of Sherpa environment

parent b3f06054
......@@ -2,8 +2,19 @@ ADDON = libSherpaLHEfix.so
CXX = $(shell Sherpa-config --cxx)
LDFLAGS += $(shell Sherpa-config --ldflags)
CXXFLAGS += -O2 -g $(shell Sherpa-config --cppflags)
ifdef SHERPA_LIBRARY_PATH
LDFLAGS += -L$(SHERPA_LIBRARY_PATH) -lSherpaMain
else
LDFLAGS += $(shell Sherpa-config --ldflags)
endif
ifdef SHERPA_INCLUDE_PATH
CXXFLAGS += -I$(SHERPA_INCLUDE_PATH)
else
CXXFLAGS += $(shell Sherpa-config --cppflags)
endif
CXXFLAGS += -O2 -g
ifndef GFALDIR
GFALDIR = xroot://se01.dur.scotgrid.ac.uk/dpm/dur.scotgrid.ac.uk/home/pheno/$(shell whoami)/lib
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment