summaryrefslogtreecommitdiff
path: root/fast/Makefile
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-07-16 20:56:49 +0200
committerPatrick Simianer <p@simianer.de>2014-07-16 20:56:49 +0200
commitdf8ed8821287fc8172cace28e09c2cac9823bb8a (patch)
tree532d3bb0c01479da753c2e6cf871365a1f585ea7 /fast/Makefile
parenta7ca2c4f4cd4f6f88c805bf89d9ee6ac55941a89 (diff)
in-place topological sort
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