00001 ################################################################################
00002 # Config file for HepMCAnalysis library and examples
00003 #
00004 # Judith Katzy, Sebastian Johnert 16.10.2008
00005 ################################################################################
00006
00007 INCLUDEF = -I$(FastJetdir)/include
00008 INCLUDEH = -I$(HepMCdir)/include -I$(CLHEPdir)/include \
00009 -I$(HepPDTdir)/include -I$(ROOTSYS)/include
00010 INCLUDES = $(INCLUDEH) $(INCLUDEF)
00011
00012 ROOTGLIBS = `root-config --glibs`
00013 ROOTCFLAGS = `root-config --cflags` -Wno-long-long
00014
00015 # causes problems in HepMCAnalysis_i interface...
00016 #CLHEP = -L$(CLHEPdir)/lib -lCLHEP
00017 CLHEPlib =
00018
00019 HepPDTlib = -L$(HepPDTdir)/lib -lHepPDT -lHepPID
00020 HepMClib = $(HepMCdir)/lib/libHepMC.so $(HepMCdir)/lib/libHepMCfio.a
00021
00022 FastJetlib = -L$(FastJetdir)/lib -lfastjet -lSISConePlugin -lCDFConesPlugin -lsiscone -lsiscone_spherical
00023
00024 BINDIR = bin
00025 LIBDIR = lib
00026
00027 # Compiler/Linker options
00028 CXXFLAGS = -pthread -pipe -ansi -fPIC -W -Wall -Wno-deprecated -Wno-empty-body $(INCLUDES)
00029 FFLAGS = -fno-second-underscore $(INCLUDES)
00030
00031 .SUFFIXES: .o .cc .f .exe
00032
00033 .cc.o: $(HDRS) $<
00034 @echo "Compiling $< with $(CXX) $(CXXFLAGS) "
00035 $(CXX) $(CXXFLAGS) -c $< -o $@
00036
00037 .f.o: $<
00038 @echo "Compiling $< with $(F77) ..."
00039 @$(F77) $(FFLAGS) -c $< -o $@
00040