summaryrefslogtreecommitdiff
path: root/fast/Makefile
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-07-21 11:18:18 +0200
committerPatrick Simianer <p@simianer.de>2014-07-21 11:18:18 +0200
commit02bbe0c6bc69283a988caf8f0ab3dadb5d9d72b5 (patch)
tree32e12e90e0b638fa108cd21cdb28780959ed3897 /fast/Makefile
parentf4c81d3335595a7198a08434717770bbad97e0e4 (diff)
hg::io write
Diffstat (limited to 'fast/Makefile')
-rw-r--r--fast/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/fast/Makefile b/fast/Makefile
index 2d2ba68..16bc48c 100644
--- a/fast/Makefile
+++ b/fast/Makefile
@@ -1,14 +1,15 @@
COMPILER=clang
+CFLAGS=-O3
all: hypergraph.o main.cc
- $(COMPILER) -std=c++11 -lstdc++ -lm -lmsgpack hypergraph.o main.cc -o fast_weaver
+ $(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) -g -std=c++11 -c hypergraph.cc
+ $(COMPILER) $(CFLAGS) -g -std=c++11 -c hypergraph.cc
grammar.o: grammar.cc grammar.hh
- $(COMPILER) -g -std=c++11 -c grammar.cc
+ $(COMPILER) $(CFLAGS) -g -std=c++11 -c grammar.cc
clean:
rm -f fast_weaver hypergraph.o grammar.o