Makefile.svn-base

Go to the documentation of this file.
00001 #######################################################################
00002 #
00003 #  Makefile for HepMCAnalysis shared library to run at CERN and DESY
00004 #
00005 #  pathes (variables) and objects are set in setup script and config.mk
00006 #
00007 #  Judith Katzy, Sebastian Johnert 16.10.2008
00008 #
00009 #######################################################################
00010 
00011 SHELL = /bin/sh
00012 
00013 include ./config.mk
00014 
00015 OBJECTS:= src/Configuration.o src/JetFinder.o src/TopAnalysis.o src/TauAnalysis.o src/DiJetAnalysis.o src/WplusJetAnalysis.o src/ZAnalysis.o src/UEAnalysis.o src/EtMissAnalysis.o src/ElasScatAnalysis.o src/baseAnalysis.o src/UserAnalysis.o
00016 
00017 # Create a HepMCAnalysis.so shared library
00018 
00019 slib : $(OBJECTS) 
00020         @mkdir -p $(LIBDIR) 
00021         $(CXX) $(CXXFLAGS) \
00022         -shared -o $(LIBDIR)/libHepMCAnalysis.so $(OBJECTS) \
00023         $(HepMClib) $(HepPDTlib) $(CLHEPlib) $(FastJetlib) \
00024         $(ROOTGLIBS)  $(LINK_LIBS)
00025 
00026 # Clean up
00027 fresh:
00028         rm -f examples/pythia8/*.exe examples/pythia8/*.o examples/pythia8/*.root examples/pythia8/*.cmnd examples/pythia6/*.exe examples/pythia6/*.o examples/pythia6/*.root examples/herwigpp/*.exe examples/herwigpp/*.o examples/herwigpp/*.root examples/herwigpp/*.log examples/herwigpp/LHC.* examples/lhapdf/*.exe examples/lhapdf/*.o examples/lhapdf/*.root examples/lhapdf/*.dat examples/cascade/*.exe examples/cascade/*.root examples/cascade/*.o examples/herwig/*.exe examples/herwig/*.root examples/herwig/fort.77 examples/herwig/fort.88 $(BINDIR)/*.exe $(LIBDIR)/*.so src/*.o
00029 
00030 # delete the libraries
00031 clean:
00032         rm -f $(LIBDIR)/*.so src/*.o 

Generated on Mon Jan 4 15:22:33 2010 for HepMCAnalysis by  doxygen 1.4.7