-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
40 lines (26 loc) · 1.38 KB
/
Makefile
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
all: test_simple test_combinators stream_expression vector_expression prolog test.csv test.exp
CFLAGS=-ggdb -march=native -O3 -flto -std=c++11
debug: CFLAGS+=-DDEBUG
debug: all
clang: CXX=clang++
clang: all
clean:
rm -f test_combinators test_simple stream_expression vector_expression prolog test.csv mkexp test.exp mkcsv
test_combinators: test_combinators.cpp templateio.hpp parser_combinators.hpp function_traits.hpp profile.hpp stream_iterator.hpp
${CXX} ${CFLAGS} -o test_combinators test_combinators.cpp
test_simple: test_simple.cpp templateio.hpp parser_simple.hpp profile.hpp
${CXX} ${CFLAGS} -o test_simple test_simple.cpp
stream_expression: example_expression.cpp templateio.hpp parser_combinators.hpp function_traits.hpp profile.hpp stream_iterator.hpp
${CXX} ${CFLAGS} -o stream_expression example_expression.cpp
vector_expression: example_expression.cpp templateio.hpp parser_combinators.hpp function_traits.hpp profile.hpp File-Vector/file_vector.hpp
${CXX} ${CFLAGS} -DUSE_MMAP -o vector_expression example_expression.cpp
prolog: prolog.cpp prolog.hpp templateio.hpp parser_combinators.hpp function_traits.hpp profile.hpp File-Vector/file_vector.hpp
${CXX} ${CFLAGS} -DUSE_MMAP -o prolog prolog.cpp
mkexp: mkexp.cpp
${CXX} ${CFLAGS} -o mkexp mkexp.cpp
mkcsv: mkcsv.cpp
${CXX} ${CFLAGS} -o mkcsv mkcsv.cpp
test.csv: mkcsv
./mkcsv > test.csv
test.exp: mkexp
./mkexp > test.exp