X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Makefile;h=1cc866d53519cb1b215f91f0be5a16d8b7207548;hb=875b086391c824db13ebfb86303105ba18c462a9;hp=1dc36ce7b1ad6e31034cf298dd118cc0bbbf430f;hpb=33d7fcf900b9c456aea2fc88900fe3c7dd4344e8;p=remoteglot-book diff --git a/Makefile b/Makefile index 1dc36ce..1cc866d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ CXXFLAGS=-std=gnu++11 -O2 -g -Wall LDLIBS=-lmtbl -lfarmhash -lprotobuf PROTOC=protoc +CC=g++ all: binloader binlookup binmerger @@ -11,6 +12,7 @@ binlookup: binlookup.o hash.o merge_count.o count.pb.o binloader.o: binloader.cpp count.pb.h binmerger.o: binmerger.cpp merge_count.h count.pb.h binlookup.o: binlookup.cpp merge_count.h count.pb.h +merge_count.o: merge_count.cpp merge_count.h count.pb.h %.pb.cc %.pb.h : %.proto $(PROTOC) --cpp_out=. $<