File indexing completed on 2024-11-16 09:02:33
0001
0002 CXX = g++
0003 CXXFLAGS = -std=c++17 $(shell root-config --cflags --ldflags --libs) -lEG -lTMVA
0004 CFILES = $(wildcard *.cc)
0005 INCLUDE = -I$(DELPHES_PATH)
0006 LIBS = -L$(DELPHES_PATH) -lDelphes
0007
0008 .PHONY: build check-env
0009
0010
0011 build: check-env SimpleAnalysis.exe
0012
0013 SimpleAnalysis.exe: *.cc
0014 $(CXX) $(CXXFLAGS) $(INCLUDE) $(LIBS) -I. -o $@ $(CFILES)
0015
0016
0017 clean:
0018 rm -f SimpleAnalysis.exe
0019
0020
0021 check-env:
0022 ifndef DELPHES_PATH
0023 $(error DELPHES_PATH is undefined)
0024 endif