Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

config.mk

Go to the documentation of this file.
00001 ################################################################################
00002 #
00003 # config file for HepMCAnalysis library and examples
00004 #
00005 # pathes (variables) are set in setup script
00006 #  
00007 #  
00008 # Judith Katzy, Sebastian Johnert 16.10.2008
00009 #
00010 #
00011 ############################### Libraries ######################################
00012 
00013   INCLUDEF      = -I$(FastJetdir)/include
00014   INCLUDEH      = -I$(HepMCdir)/include -I$(CLHEPdir)/include \
00015                   -I$(HepPDTdir)/include -I$(ROOTSYS)/include
00016   INCLUDES      = $(INCLUDEH) $(INCLUDEF)
00017   ROOTGLIBS     = -L$(ROOTSYS)/lib -lCore -lCint -lRIO -lNet -lHist \
00018                   -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript \
00019                   -lMatrix -lPhysics -lGui -pthread -lm -ldl -rdynamic
00020   #ROOTGLIBS     = `root-config --glibs`
00021 
00022   #ROOTCFLAGS    =  -I$(ROOTdir)/include 
00023   ROOTCFLAGS    = `root-config --cflags` -Wno-long-long
00024 
00025   CLHEPlib     = -L$(CLHEPdir)/lib -lCLHEP
00026   HepPDTlib     = -L$(HepPDTdir)/lib -lHepPDT -lHepPID
00027   HepMClib      = $(HepMCdir)/lib/libHepMC.so $(HepMCdir)/lib/libHepMCfio.a
00028   FastJetlib    = $(FastJetdir)/lib/libfastjet.so $(FastJetdir)/lib/libSISConePlugin.so $(FastJetdir)/lib/libCDFConesPlugin.so $(FastJetdir)/lib/libsiscone.so
00029   LINK_LIBS     = -lfrtbegin -lg2c
00030 
00031 ################################################################################
00032 
00033   BINDIR = bin
00034   LIBDIR = lib
00035 
00036 ############################## Compiler options #################################
00037 
00038   CXX           = g++
00039   F77           = g77 #Fortran compiler (needed?)
00040   CXXFLAGS      = -O2 -Wall -fPIC -pthread   $(INCLUDES) 
00041   FFLAGS        = -O2 -fno-second-underscore $(INCLUDES) 
00042   #LD            = g++ #needed?
00043 
00044 
00045  .SUFFIXES:      .o  .cc .f .exe
00046 
00047 ################################################################################
00048 # instructions for building a .o file from a .cxx file
00049 #
00050 #.cc.o:         $(HDRS) $<
00051 #       @echo "Compiling $< with $(CXX) $(CXXFLAGS) "
00052 #       @$(CXX) $(CXXFLAGS) -c $< -o $@
00053 
00054 ################################################################################
00055 # instructions for building a .o file from a .f file
00056 #
00057 .f.o:           $<
00058         @echo "Compiling $< with $(F77) ..."
00059         @$(F77) $(FFLAGS) -c $< -o $@
00060 

Generated on Mon Feb 16 15:58:15 2009 for HepMCAnalysis by  doxygen 1.3.9.1