forked from akornmay/originalDataFlow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
24 lines (15 loc) · 678 Bytes
/
makefile
File metadata and controls
24 lines (15 loc) · 678 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# define compile command
CC = g++
CFLAGS = -g -Wno-deprecated
#CFLAGS = -O3 -Wno-deprecated -funroll-loops
LDFLAGS = -L/usr/local/lib
OBJ = DoubleColumn.cpp ROC.cpp DataFlow.cpp Module.cpp Event.cpp EventReader.cpp TBM.cpp
HEAD = DoubleColumn.h CommonDefs.h ROC.h Module.h Statistics.h DataFlow.h Event.h EventReader.h TBM.h
ROOTCFLAGS =$(shell $(ROOTSYS)/bin/root-config --cflags)
ROOTLIBS =$(shell $(ROOTSYS)/bin/root-config --libs)
ROOTGLIBS =$(shell $(ROOTSYS)/bin/root-config --glibs)
CFLAGS += $(ROOTCFLAGS)
all: $(OBJ) $(HEAD) makefile
$(CC) $(OBJ) -o DataFlow $(CFLAGS) $(LDFLAGS) $(ROOTGLIBS)
clean:
rm -f *.o DataFlow *~ Analyse