summaryrefslogtreecommitdiff
path: root/fast/Makefile
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-07-19 08:30:43 +0200
committerPatrick Simianer <p@simianer.de>2014-07-19 08:30:43 +0200
commitf219bab21c07d02e7e54d557e23387bd93c9ce5f (patch)
tree14a6e2b647a3b1ab11391c154fbcf7c63841f8db /fast/Makefile
parent6208c48407c359819945730006edf4c402b7ff77 (diff)
hg io
Diffstat (limited to 'fast/Makefile')
-rw-r--r--fast/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/fast/Makefile b/fast/Makefile
index f09ab21..1d88446 100644
--- a/fast/Makefile
+++ b/fast/Makefile
@@ -1,12 +1,19 @@
all: hypergraph.o main.cc
- clang -std=c++11 -lstdc++ -lm hypergraph.o -I./msgpack-c/include/ main.cc -o fast_weaver
+ clang -std=c++11 -lstdc++ -lm -lmsgpack hypergraph.o main.cc -o fast_weaver
hypergraph.o: hypergraph.cc hypergraph.hh grammar.o semiring.hh
- clang -std=c++11 -I./msgpack-c/include/ -c hypergraph.cc
+ clang -std=c++11 -lmsgpack -c hypergraph.cc
grammar.o: grammar.cc grammar.hh
clang -std=c++11 -c grammar.cc
+make_paks: make_paks.cc
+ g++ -std=c++11 -lmsgpack make_paks.cc -o make_paks
+
+read_pak: read_pak.cc
+ g++ -std=c++11 -lmsgpack read_pak.cc -o read_pak
+
+
clean:
rm -f fast_weaver hypergraph.o grammar.o