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 $@