blob: c892bb8020f430c6f8d05f6160da00665a5e8b7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
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 $@
|