summaryrefslogtreecommitdiff
path: root/fast/Makefile
blob: 2d2ba68a41d2d4c62a0acb6a27df268bc813546a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
COMPILER=clang


all: hypergraph.o main.cc
	$(COMPILER) -std=c++11 -lstdc++ -lm -lmsgpack hypergraph.o main.cc -o fast_weaver

hypergraph.o: hypergraph.cc hypergraph.hh grammar.o semiring.hh
	$(COMPILER) -g -std=c++11 -c hypergraph.cc

grammar.o: grammar.cc grammar.hh
	$(COMPILER) -g -std=c++11 -c grammar.cc

clean:
	rm -f fast_weaver hypergraph.o grammar.o