3 ROOTLIBS = $(shell root-config --glibs) -lEG
4 ROOTCFLAGS = $(shell root-config --cflags)
10 CPPFLAGS = $(ROOTCFLAGS) -I./
13 CXXFLAGS = -c -g -Wall -fPIC
15 LDFLAGS = -rdynamic -Wl,-rpath,./ $(LIBS) -o
16 SOFLAGS = -shared -Wl,-soname,
20 LIBO = dNdEtaAnalysis.o \
21 dNdEtaAnalysisCint.o \
23 dNdEtaCorrectionCint.o
29 rootcint -f $@ -c $(ROOTCFLAGS) $(CPPFLAGS) -p -I./ $^
32 $(CXX) $(CPPFLAGS) $(CXXFLAGS) $<
35 $(LD) $(SOFLAGS)$@ $^ -o $@
38 $(LD) $(LDFLAGS) $(LIBS) $^ -o $@
44 #----------------------------------------------------------------------------
57 @echo "Cleaning up ..."
58 @$(RM) -f *~ core *Cint.* *.o
61 @echo "Being very tidy ... "
62 @$(RM) -f $(LIBRARIES)*