-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (33 loc) · 1022 Bytes
/
Makefile
File metadata and controls
45 lines (33 loc) · 1022 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
43
44
45
CPP = g++
CPPFLAGS = -Wall -g -std=c++11 -O0
OBJS = main.o Graph_FlowNetWorks.o
DEPS = Graph_FlowNetWorks.cpp
BIG_K=4
ALU4_AAG="testcase/alu4.aag"
ALU4_OUT="alu4.aag_output"
BIG_AAG="testcase/bigkey.aag"
BIG_OUT="bigkey.aag_output"
C1908_AAG="testcase/c1908.aag"
C1908_OUT="c1908.aag_output"
C5315_AAG="testcase/c5315.aag"
C5315_OUT="c5315.aag_output"
alu4: FlowMap.exe
./FlowMap.exe ${ALU4_AAG} ${BIG_K} ${ALU4_OUT}
./checker ${ALU4_AAG} ${BIG_K} ${ALU4_OUT}
bigkey: FlowMap.exe
./FlowMap.exe ${BIG_AAG} ${BIG_K} ${BIG_OUT}
./checker ${BIG_AAG} ${BIG_K} ${BIG_OUT}
c1908: FlowMap.exe
./FlowMap.exe ${C1908_AAG} ${BIG_K} ${C1908_OUT}
./checker ${C1908_AAG} ${BIG_K} ${C1908_OUT}
c5315: FlowMap.exe
./FlowMap.exe ${C5315_AAG} ${BIG_K} ${C5315_OUT}
./checker ${C5315_AAG} ${BIG_K} ${C5315_OUT}
debug:FlowMap.exe
./FlowMap.exe testcase/my_alu.aag 3 output.aag
FlowMap.exe:${OBJS}
${CPP} ${CPPFLAGS} -o $@ ${OBJS}
%o.: %.cpp ${DEPS}
${CPP} -c -o $@ $< ${CPPFLAGS}
clean:
-rm -r *.o *.exe *.aag_output