-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (17 loc) · 906 Bytes
/
Makefile
File metadata and controls
23 lines (17 loc) · 906 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Remember: order of arguments to g++ is important, the `root-config` must follow the rest of the arguments
vpath %.a lib
vpath %.so lib
vpath %.o obj
vpath %.cc src
vpath %.h include
vpath % bin
.PHONY: all
all: processDeltaRHistograms
processDeltaRHistograms: processDeltaRHistograms.o
g++ -o bin/processDeltaRHistograms obj/processDeltaRHistograms.o -L$(TMCPPUTILS)/generalUtils/lib -ltmGeneralUtils -L$(TMCPPUTILS)/ROOTUtils/lib -ltmROOTUtils `root-config --ldflags --glibs` -lTreePlayer -lRooFit -lRooFitCore -lMinuit -lMathCore -lMathMore
processDeltaRHistograms.o: processDeltaRHistograms.cc processDeltaRHistograms.h
g++ -g -c -Wall -Wextra -Werror -pedantic-errors -fPIC -O3 -o obj/processDeltaRHistograms.o src/processDeltaRHistograms.cc -I$(TMCPPUTILS)/generalUtils/include -I$(TMCPPUTILS)/ROOTUtils/include `root-config --cflags`
clean:
rm -rf bin/*
rm -rf obj/*
.DEFAULT_GOAL := all