-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
executable file
·29 lines (25 loc) · 970 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
CPPFLAGS=-I $(BOOST_INC) \
-I $(CANVAS_INC) \
-I $(CETLIB_EXCEPT_INC) \
-I $(CETLIB_INC) \
-I $(FHICLCPP_INC) \
-I $(GALLERY_INC) \
-I $(LARCOREOBJ_INC) \
-I $(LARDATAOBJ_INC) \
-I $(NUSIMDATA_INC) \
-I $(ROOT_INC)
CXXFLAGS=-std=c++14 -Wall -Werror -pedantic
CXX=g++
LDFLAGS=$$(root-config --libs) \
-L $(CANVAS_LIB) -l canvas \
-L $(CETLIB_EXCEPT_LIB) -l cetlib_except \
-L $(CETLIB_LIB) -l cetlib \
-L $(GALLERY_LIB) -l gallery \
-L $(NUSIMDATA_LIB) -l nusimdata_SimulationBase \
-L $(LARCOREOBJ_LIB) -l larcoreobj_SummaryData \
-L $(LARDATAOBJ_LIB) -l lardataobj_RecoBase -l lardataobj_MCBase -l lardataobj_RawData -l lardataobj_OpticalDetectorData -l lardataobj_AnalysisBase
PixLArPurityStudy: PixLArPurityStudy.cpp
@$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $<
all: PixLArPurityStudy
clean:
rm *.o PixLArPurityStudy