-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (36 loc) · 868 Bytes
/
Makefile
File metadata and controls
42 lines (36 loc) · 868 Bytes
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
30
31
32
33
34
35
36
37
38
39
40
41
42
CXX=g++
CXXFLAGS+=-Wall -O3 -std=c++14 -DNDEBUG
all: run ;
cp run workflows/ranking/ ;
cp run workflows/hminer/
debug: CXXFLAGS += -g3 -DDEBUG_MSG
debug: run
run: main.o \
Utils.o \
Base/Config.o \
HRank/HRankSY.o \
Cache/LRUCache/LRUCache.o \
Cache/PGDSCache/PGDSCache.o \
TransitionMatrix/ConstraintMatrix.o \
TransitionMatrix/TransitionMatrix.o \
MatrixMultiplier/DynamicOptimizer.o \
Base/Executor.o \
MatrixMultiplier/MatrixMultiplier.o \
Base/FileParser.o \
CacheBaselines/CBS1.o \
CacheBaselines/CBS2.o \
$(CXX) -o $@ $^ -L BaseAlgorithm/ -L TransitionMatrix/ $(CXXFLAGS)
clean_temp:
rm data/small_relations_2/tmp/*
clean:
rm *.o
rm Base/*.o
rm HRank/*.o
rm TransitionMatrix/*.o
rm MatrixMultiplier/*.o
rm Cache/LRUCache/*.o
rm Cache/PGDSCache/*.o
rm CacheBaselines/*.o
rm run
rm workflows/ranking/run
rm workflows/hminer/run