Fork me on GitHub

source: git/examples/ExternalFastJet/Makefile@ 8cbe720

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 8cbe720 was 173a9df, checked in by Pavel Demin <pavel-demin@…>, 9 years ago

fix CXXFLAGS in ExternalFastJet/Makefile

  • Property mode set to 100644
File size: 831 bytes
RevLine 
[aef818f]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
[f927991]6# FastJet directory
7FASTJET_DIR = /opt/fastjet
8
[aef818f]9# ROOT directory
[f927991]10ROOT_DIR = /opt/root
[aef818f]11
12# Delphes directory
13DELPHES_DIR = ../..
14
[f927991]15#
[aef818f]16
17CXXFLAGS += $(shell $(FASTJET_DIR)/bin/fastjet-config --cxxflags)
[173a9df]18CXXFLAGS += $(shell $(ROOT_DIR)/bin/root-config --cflags)
[aef818f]19CXXFLAGS += -I$(DELPHES_DIR) -I$(DELPHES_DIR)/external
20
21LDFLAGS += $(shell $(FASTJET_DIR)/bin/fastjet-config --libs)
22LDFLAGS += $(shell $(ROOT_DIR)/bin/root-config --libs) -lEG
[1d1f6a4]23LDFLAGS += -Wl,-rpath,$(DELPHES_DIR) -L$(DELPHES_DIR) -lDelphesNoFastJet
[aef818f]24
25all: ExternalFastJetBasic ExternalFastJetHepMC
26
27clean:
28 rm -f ExternalFastJetBasic ExternalFastJetHepMC
29
30%: %.cpp
31 $(CXX) $(CXXFLAGS) $^ $(LDFLAGS) -o $@
Note: See TracBrowser for help on using the repository browser.