summaryrefslogtreecommitdiff
path: root/fast/Makefile
blob: a453fd3402b0a8e1fa85df69409f2f25d0a5e2c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
all: hypergraph.o main.cc
	clang -std=c++11 -lstdc++ main.cc hypergraph.o json/libjson.a -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

grammar.o: grammar.cc grammar.hh
	clang -std=c++11 -lstdc++ -c grammar.cc

clean:
	rm fast_weaver hypergraph.o grammar.o