From 5ce8ac713ac2ea1398ee71b85b4ca57f0c1299cb Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 28 Oct 2017 16:45:38 +0200 Subject: [PATCH] use proper rules for protobuf-compiler --- lib/io/Makefile.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/io/Makefile.inc b/lib/io/Makefile.inc index b08b4b684..6ad368a35 100644 --- a/lib/io/Makefile.inc +++ b/lib/io/Makefile.inc @@ -32,9 +32,8 @@ ifeq ($(shell $(PKGCONFIG) libprotobuf-c; echo $$?),0) endif endif -%.pb-c.h: %.proto +%.pb-c.c %.pb-c.h: %.proto protoc-c --proto_path=$(SRCDIR) --c_out=$(SRCDIR) $(realpath $^) -lib/io/villas.pb-c.c \ lib/io/protobuf.c: | lib/io/villas.pb-c.h