source: trunk/examples/extended/eventgenerator/HepMC/HepMCEx01/data/GNUmakefile @ 1292

Last change on this file since 1292 was 807, checked in by garnier, 16 years ago

update

File size: 596 bytes
Line 
1# // CLHEP
2CLHEPD    := /usr/local/CLHEP
3CLHEPINC  := -I$(CLHEPD)/include
4CLHEPLIB  := -L$(CLHEPD)/lib -lCLHEP
5
6# // HepMC
7HEPMCD     := /opt/heplib/HepMC/1.21
8HEPMCINC   := -I$(HEPMCD)
9HEPMCLIB   := -L$(HEPMCD) -lHepMC
10#HEPMCLIB   := $(HEPMCD)/libHepMC.so
11
12# // CERN libraries
13CLIBD     := /cern/pro/lib
14CLIB      := -L$(CLIBD) -lpythia6
15
16CXXFLAGS := $(CLHEPINC) $(HEPMCINC)
17LOPT := -Wl,-rpath $(HEPMCD) $(HEPMCLIB) $(CLHEP) $(CLIB) -lg2c
18
19%.o: %.cxx
20        $(CXX) -c -o $@ $(CXXFLAGS) $*.cxx
21
22example_MyPythia : example_MyPythia.o
23        $(CXX) -o $@ $< $(LOPT)
24
25example_MyPythia.o : example_MyPythia.cxx
26
Note: See TracBrowser for help on using the repository browser.