1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

use proper rules for protobuf-compiler

This commit is contained in:
Steffen Vogel 2017-10-28 16:45:38 +02:00
parent 574b9ea88b
commit 5ce8ac713a

View file

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