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


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

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

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

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