diff options
author | Patrick Simianer <p@simianer.de> | 2014-08-05 22:46:43 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-08-05 22:46:43 +0200 |
commit | 0b3cdb4ae2fa176ba74a48ff7a1616395079c151 (patch) | |
tree | 7092a57ed7d29920df3ae2f97c39efc17c5e6095 /fast/Makefile | |
parent | a27e2c529ddb7dc1be0c6bcc44e3ab558126d15d (diff) |
too much to tell
Diffstat (limited to 'fast/Makefile')
-rw-r--r-- | fast/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
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 |