~vpec/maus/tof_calib_read

« back to all changes in this revision

Viewing changes to bin/user/src/Makefile

Merging start

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
CC = g++
 
2
CFLAGS = -DDEBUG -ggdb -Wall
 
3
 
 
4
all : kalman_test
 
5
 
 
6
kalman_test : kalman_test.cc
 
7
        @echo "Running with ${MAUS_ROOT_DIR} on "
 
8
        @echo `uname -a` # note this Makefile fails on Ubuntu due to ROOT errors
 
9
        $(CC) $(CFLAGS)  $< -o $@ \
 
10
                              -I${MAUS_ROOT_DIR}/ \
 
11
                              -I${MAUS_ROOT_DIR}/src/common_cpp \
 
12
                              -I${MAUS_ROOT_DIR}/src/legacy \
 
13
                              -I${MAUS_THIRD_PARTY}/third_party/install/include \
 
14
                              -I${ROOTSYS}/include \
 
15
                              -L${MAUS_ROOT_DIR}/build/ \
 
16
                              `root-config --ldflags` \
 
17
                              `${ROOTSYS}/bin/root-config --glibs` \
 
18
                              -lMausCpp \
 
19
                               -Wl,--no-as-needed
 
20
clean:
 
21
        rm kalman_test
 
22