-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathmakefile
More file actions
22 lines (17 loc) · 1.32 KB
/
makefile
File metadata and controls
22 lines (17 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CC=g++ -std=c++0x
#use path according to boost installation directory in user machine
export LD_LIBRARY_PATH=/home/aftab/Downloads/boost_1.62_installed/lib:$LD_LIBRARY_PATH
#use paths according to boost installation directory in user machine
CFLAGS= -I/home/aftab/Downloads/boost_1.62_installed/include -L/home/aftab/Downloads/boost_1.62_installed/lib -O2 -ggdb -lboost_thread -lpthread -lboost_system
##### source files #####
# preprocessing
PREP=preproc/preproc.cpp preproc/preproc_new.cpp preproc/run_pre.cpp
# edge computation
COMPUTATION=edgecomp/engine.cpp edgecomp/compute.cpp edgecomp/edgemerger.cpp edgecomp/repart.cpp
LOADER=datastructures/loader.cpp edgecomp/grammar.cpp
# computation sets included through header files
DATASTRUCTS=datastructures/vertex.cpp datastructures/loadedvertexinterval.cpp datastructures/minset.cpp datastructures/partition.cpp datastructures/context.cpp datastructures/vit.cpp datastructures/DDM.cpp
UTIL=../test/timer.cpp Library/Logger.cpp
##### build rules #####
comp: dispatcher/graspan.cpp $(PREP) $(LOADER) $(COMPUTATION) $(DATASTRUCTS) $(UTIL)
$(CC) dispatcher/graspan.cpp $(PREP) $(LOADER) $(COMPUTATION) $(DATASTRUCTS) $(UTIL) -o ../bin/comp -I/home/aftab/Downloads/boost_1.62_installed/include -L/home/aftab/Downloads/boost_1.62_installed/lib -O2 -ggdb -lboost_thread -lpthread -lboost_system