[osmpbf] 03/22: Allow overriding protoc path from the command line
Bas Couwenberg
sebastic at xs4all.nl
Sun Mar 16 10:08:41 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to tag v1.3.1
in repository osmpbf.
commit 2b7a3329573aabc5630a37294827a4eedd23f71f
Author: Thomas Friebel <yaron at codefreax.com>
Date: Fri Mar 8 22:14:59 2013 +0100
Allow overriding protoc path from the command line
---
src/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
index 7996688..bb8d035 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2,6 +2,7 @@
CXX ?= g++
CXXFLAGS ?= -O3
AR ?= ar
+PROTOC ?= protoc
all: libosmpbf.a ../include/osmpbf/fileformat.pb.h ../include/osmpbf/osmformat.pb.h
@@ -12,7 +13,7 @@ libosmpbf.a: fileformat.pb.o osmformat.pb.o
$(CXX) $(CXXFLAGS) -c -o $@ $<
%.pb.cc ../include/osmpbf/%.pb.h: %.proto
- protoc --proto_path=. --cpp_out=. $<
+ $(PROTOC) --proto_path=. --cpp_out=. $<
cp *.pb.h ../include/osmpbf/
install:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmpbf.git
More information about the Pkg-grass-devel
mailing list