summaryrefslogtreecommitdiff
path: root/hadoop/wordcount/pipes/Makefile
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-06-14 16:46:27 +0200
committerPatrick Simianer <p@simianer.de>2014-06-14 16:46:27 +0200
commit26c490f404731d053a6205719b6246502c07b449 (patch)
tree3aa721098f1251dfbf2249ecd2736434c13b1d48 /hadoop/wordcount/pipes/Makefile
init
Diffstat (limited to 'hadoop/wordcount/pipes/Makefile')
-rw-r--r--hadoop/wordcount/pipes/Makefile12
1 files changed, 12 insertions, 0 deletions
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 $@