ImprovedOutputFile
Line | |
---|
1 | # 'make' builds everything
|
---|
2 | # 'make clean' deletes everything except source files and Makefile
|
---|
3 | #
|
---|
4 | # You need to set ROOT_DIR, DELPHES_DIR and FASTJET_DIR for your project.
|
---|
5 |
|
---|
6 | # FastJet directory
|
---|
7 | FASTJET_DIR = /opt/fastjet
|
---|
8 |
|
---|
9 | # ROOT directory
|
---|
10 | ROOT_DIR = /opt/root
|
---|
11 |
|
---|
12 | # Delphes directory
|
---|
13 | DELPHES_DIR = ../..
|
---|
14 |
|
---|
15 | #
|
---|
16 |
|
---|
17 | CXXFLAGS += $(shell $(FASTJET_DIR)/bin/fastjet-config --cxxflags)
|
---|
18 | CXXFLAGS += $(shell $(ROOT_DIR)/bin/root-config --cflags)
|
---|
19 | CXXFLAGS += -I$(DELPHES_DIR) -I$(DELPHES_DIR)/external
|
---|
20 |
|
---|
21 | LDFLAGS += $(shell $(FASTJET_DIR)/bin/fastjet-config --libs)
|
---|
22 | LDFLAGS += $(shell $(ROOT_DIR)/bin/root-config --libs) -lEG
|
---|
23 | LDFLAGS += -Wl,-rpath,$(DELPHES_DIR) -L$(DELPHES_DIR) -lDelphesNoFastJet
|
---|
24 |
|
---|
25 | all: ExternalFastJetBasic ExternalFastJetHepMC
|
---|
26 |
|
---|
27 | clean:
|
---|
28 | rm -f ExternalFastJetBasic ExternalFastJetHepMC
|
---|
29 |
|
---|
30 | %: %.cpp
|
---|
31 | $(CXX) $(CXXFLAGS) $^ $(LDFLAGS) -o $@
|
---|
Note:
See
TracBrowser
for help on using the repository browser.