summaryrefslogtreecommitdiff
path: root/fast/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fast/Makefile')
-rw-r--r--fast/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/fast/Makefile b/fast/Makefile
index a453fd3..f09ab21 100644
--- a/fast/Makefile
+++ b/fast/Makefile
@@ -1,12 +1,12 @@
all: hypergraph.o main.cc
- clang -std=c++11 -lstdc++ main.cc hypergraph.o json/libjson.a -o fast_weaver
+ clang -std=c++11 -lstdc++ -lm hypergraph.o -I./msgpack-c/include/ main.cc -o fast_weaver
hypergraph.o: hypergraph.cc hypergraph.hh grammar.o semiring.hh
- clang -std=c++11 -lstdc++ -c hypergraph.cc -I./msgpack-c/include/ grammar.o ./msgpack-c/lib/libmsgpack.a
+ clang -std=c++11 -I./msgpack-c/include/ -c hypergraph.cc
grammar.o: grammar.cc grammar.hh
- clang -std=c++11 -lstdc++ -c grammar.cc
+ clang -std=c++11 -c grammar.cc
clean:
- rm fast_weaver hypergraph.o grammar.o
+ rm -f fast_weaver hypergraph.o grammar.o