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