diff --git a/Makefile.include b/Makefile.include index 93649756c..799037b21 100644 --- a/Makefile.include +++ b/Makefile.include @@ -14,7 +14,7 @@ FLAGS= -Wall -DVERBOSE # libraries ############################################################## -EIGERSLS = no +EIGERSLS = no #POCODIR = /afs/psi.ch/user/s/sala/public/poco-slp_5.7-32bit #JSONBOXDIR = /afs/psi.ch/user/s/sala/public/JsonBox-slp_5.7-32bit @@ -30,4 +30,21 @@ ifeq ($(EIGERSLS),yes) endif +############################################################## +# ROOTSLS specific. Set this to yes, if you want to compile +# ROOTSLS code: in this case, you need also root libraries +############################################################## + +ROOTSLS = no + +ROOTFLAGS = $(shell root-config --cflags --glibs) -DMYROOT1 #-DALLFILE_DEBUG #-DMYROOT1 + +ifeq ($(ROOTSLS),yes) + LDFLAG = -L$(LIBDIR) -lSlsDetector $(ROOTFLAGS) -DROOTSLS +endif + + + + +