From 0b3cdb4ae2fa176ba74a48ff7a1616395079c151 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Tue, 5 Aug 2014 22:46:43 +0200 Subject: too much to tell --- fast/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'fast/Makefile') diff --git a/fast/Makefile b/fast/Makefile index 6d05fea..40ce0eb 100644 --- a/fast/Makefile +++ b/fast/Makefile @@ -2,17 +2,18 @@ COMPILER=clang CFLAGS=-std=c++11 -O3 -all: hypergraph.o main.cc +all: grammar.o hypergraph.o main.cc $(COMPILER) $(CFLAGS) -std=c++11 -lstdc++ -lm -lmsgpack grammar.o hypergraph.o main.cc -o fast_weaver -test: test_grammar test_sparse_vector -hypergraph.o: hypergraph.cc hypergraph.hh grammar.o semiring.hh +hypergraph.o: hypergraph.cc hypergraph.hh grammar.o semiring.hh sparse_vector.hh weaver.hh $(COMPILER) $(CFLAGS) -g -c hypergraph.cc -grammar.o: grammar.cc grammar.hh +grammar.o: grammar.cc grammar.hh sparse_vector.hh util.hh $(COMPILER) $(CFLAGS) -g -c grammar.cc +test: test_grammar test_sparse_vector + test_grammar: test_grammar.cc grammar.o $(COMPILER) $(CFLAGS) -lstdc++ -lm grammar.o test_grammar.cc -o test_grammar -- cgit v1.2.3