summaryrefslogtreecommitdiff
path: root/fast/Makefile
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-07-09 15:26:00 +0200
committerPatrick Simianer <p@simianer.de>2014-07-09 15:26:00 +0200
commit567f2bd17c05d31cd8a9b9d351f9030cddf53cb7 (patch)
tree390d1c28de381849ae9331b433695f5fb389d440 /fast/Makefile
parenta3f9fb73ffe4f942851ff496a72ca2445ffd9e0a (diff)
c++ implementation
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
+