From 26c490f404731d053a6205719b6246502c07b449 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 14 Jun 2014 16:46:27 +0200 Subject: init --- hadoop/wordcount/pipes/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 hadoop/wordcount/pipes/Makefile (limited to 'hadoop/wordcount/pipes/Makefile') diff --git a/hadoop/wordcount/pipes/Makefile b/hadoop/wordcount/pipes/Makefile new file mode 100644 index 0000000..c892bb8 --- /dev/null +++ b/hadoop/wordcount/pipes/Makefile @@ -0,0 +1,12 @@ +CC = g++ +HADOOP_INSTALL = ../hadoop-0.20.205.0 +PLATFORM = Linux-amd64-64 +CPPFLAGS = -I$(HADOOP_INSTALL)/c++/$(PLATFORM)/include + +wordcount: wordcount.cc + $(CC) $(CPPFLAGS) $< -Wall -L$(HADOOP_INSTALL)/c++/$(PLATFORM)/lib -lhadooppipes \ + -lhadooputils -lcrypto -lpthread -g -O2 -static -o $@ + +wordcountc: wordcountc.cc + $(CC) $(CPPFLAGS) $< -Wall -L$(HADOOP_INSTALL)/c++/$(PLATFORM)/lib -lhadooppipes \ + -lhadooputils -lcrypto -lpthread -g -O2 -static -o $@ -- cgit v1.2.3