Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:15:09

0001 # A Generic Makefile for compiling ROOT programs
0002 # R. Michaels, rom@jlab.org, Aug 2001  See also README !!
0003 # Version of this release
0004 # 
0005 ROOTLIBS      = $(shell root-config --libs)
0006 ROOTGLIBS     = $(shell root-config --cflags --glibs)
0007 ROOTINC       = $(shell root-config --incdir)
0008 #CXXFLAGS      = -Wall -g -frtti -fexceptions -fPIC -O 
0009 CXXFLAGS      = -Wall -frtti -fexceptions -fPIC -O 
0010 O=eic
0011 
0012 # Linux with g++
0013 INCLUDES      = -I$(ROOTSYS)/include -I$(ROOTINC) 
0014 CXX           = clang++
0015 #CXX           = g++
0016 LD            = clang++
0017 #LD            = g++
0018 LDFLAGS       = 
0019 
0020 LIBS          = $(ROOTLIBS) 
0021 GLIBS         = $(ROOTGLIBS)
0022 
0023 ALL_LIBS =  $(GLIBS) $(LIBS)
0024 
0025 # Test code executibles
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 ###