From 2eb798840d1953db958f44155669f99800d0b9b5 Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Wed, 9 Apr 2014 15:57:09 +0000 Subject: [PATCH] root sls git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorsPackage@73 08cae9ef-cb74-4d14-b03a-d7ea46f178d7 --- Makefile.include | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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 + + + + +