Project

General

Profile

Example Analysis Code » Makefile

Makefile for compiling cpp_analysis_example.cc - Dobbs, Adam, 08 May 2015 17:32

 
1
CC = g++
2
CFLAGS = -DDEBUG -ggdb -Wall
3

    
4
all : cpp_analysis_example
5

    
6
cpp_analysis_example : cpp_analysis_example.cc
7
	$(CC) $(CFLAGS) cpp_analysis_example.cc -o cpp_analysis_example \
8
	                      -I${MAUS_ROOT_DIR}/ \
9
	                      -I${MAUS_ROOT_DIR}/src/common_cpp \
10
	                      -I${MAUS_ROOT_DIR}/src/legacy \
11
	                      -I${MAUS_THIRD_PARTY}/third_party/install/include \
12
	                      -I${ROOTSYS}/include \
13
	                      -L${MAUS_ROOT_DIR}/build/ \
14
	                      `root-config --ldflags` \
15
	                      `${ROOTSYS}/bin/root-config --glibs` \
16
	                      -lMausCpp \
17
	                       -Wl,--no-as-needed
18

    
19
clean:
20
	rm cpp_analysis_example
21

    
(3-3/5)