From 08e9a6f71c80fc7327d1758312b40bd5ba763dc9 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 20 Jul 2014 15:08:12 +0200 Subject: a lot --- fast/Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'fast/Makefile') diff --git a/fast/Makefile b/fast/Makefile index 1d88446..55c4df7 100644 --- a/fast/Makefile +++ b/fast/Makefile @@ -1,19 +1,20 @@ +COMPILER=clang + all: hypergraph.o main.cc - clang -std=c++11 -lstdc++ -lm -lmsgpack hypergraph.o main.cc -o fast_weaver + $(COMPILER) -std=c++11 -lstdc++ -lm -lmsgpack hypergraph.o main.cc -o fast_weaver hypergraph.o: hypergraph.cc hypergraph.hh grammar.o semiring.hh - clang -std=c++11 -lmsgpack -c hypergraph.cc + $(COMPILER) -g -std=c++11 -lmsgpack -c hypergraph.cc grammar.o: grammar.cc grammar.hh - clang -std=c++11 -c grammar.cc + $(COMPILER) -g -std=c++11 -c grammar.cc make_paks: make_paks.cc - g++ -std=c++11 -lmsgpack make_paks.cc -o make_paks + $(COMPILER) -std=c++11 -lstdc++ -lm -lmsgpack make_paks.cc -o make_paks read_pak: read_pak.cc - g++ -std=c++11 -lmsgpack read_pak.cc -o read_pak - + $(COMPILER) -std=c++11 -lmsgpack read_pak.cc -o read_pak clean: - rm -f fast_weaver hypergraph.o grammar.o + rm -f fast_weaver hypergraph.o grammar.o make_paks read_pak -- cgit v1.2.3