File indexing completed on 2025-01-18 09:15:09
0001
0002
0003
0004
0005 ROOTLIBS = $(shell root-config --libs)
0006 ROOTGLIBS = $(shell root-config --cflags --glibs)
0007 ROOTINC = $(shell root-config --incdir)
0008
0009 CXXFLAGS = -Wall -frtti -fexceptions -fPIC -O
0010 O=eic
0011
0012
0013 INCLUDES = -I$(ROOTSYS)/include -I$(ROOTINC)
0014 CXX = clang++
0015
0016 LD = clang++
0017
0018 LDFLAGS =
0019
0020 LIBS = $(ROOTLIBS)
0021 GLIBS = $(ROOTGLIBS)
0022
0023 ALL_LIBS = $(GLIBS) $(LIBS)
0024
0025
0026 PROGS = $(O)
0027
0028 $(O): $(O).cxx
0029 rm -f $@
0030 $(CXX) $(CXXFLAGS) $(INCLUDES) -o $@ $(O).cxx $(ALL_LIBS)
0031
0032
0033 clean:
0034 rm -f *.o core *~ *.d *.tar $(PROGS)
0035
0036 realclean: clean
0037 rm -f *.d
0038
0039