summaryrefslogtreecommitdiff
path: root/fast/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fast/Makefile')
-rw-r--r--fast/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/fast/Makefile b/fast/Makefile
new file mode 100644
index 0000000..4aea1ac
--- /dev/null
+++ b/fast/Makefile
@@ -0,0 +1,12 @@
+all: hypergraph.o main.cc
+ clang -std=c++11 -lstdc++ main.cc hypergraph.o -o fast_weaver
+
+hypergraph.o: hypergraph.cc hypergraph.hh grammar.o semiring.hh
+ clang -std=c++11 -lstdc++ -c hypergraph.cc grammar.o
+
+grammar.o: grammar.cc grammar.hh
+ clang -std=c++11 -lstdc++ -c grammar.cc
+
+clean:
+ rm fast_weaver hypergraph.o grammar.o
+