CXX = g++
LD = g++
-CXXFLAGS = -O -g -pg
-LDFLAGS = -O -g -pg
-SOFLAGS = -shared -g -pg
+CXXFLAGS = -O -g -pg -fPIC -Wall -Weffc++
+LDFLAGS = -O -g -pg -fPIC -Wall -Weffc++
+SOFLAGS = -shared -g -pg -fPIC
ROOTCXX = $(shell root-config --cflags)
ROOTLIBS = $(shell root-config --libs) -lMinuit
-MCCXX =
+MCCXX = -I$(ALICE_ROOT)/STEER
MCLIBS =
CXXFLAGS += $(ROOTCXX) $(MCCXX) $(LOCALCXX)
# define module specific variables
FILE_LIST = $(shell ls -1 ./*.$(SrcSuf))
FILES = $(basename $(FILE_LIST))
-DICTIONARIES = kdTreeDict
+DICTIONARIES = StatDict
OBJECTS = $(addsuffix .$(ObjSuf),$(FILES))
OBJECTS += ./$(DICTIONARIES).$(ObjSuf)
# define libs on which the main lib depends ! (this are defined in config/Makefile.flags)
LIBSDEPEND = $(ROOTLIBS) $(MCLIBS)
# define libs build by module
-LIBS = libKDTree.so
+LIBS = libSTAT.so
# rule for building executables
$(EXECS): $(OBJECTS)