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

fix invocation of protobuf compiler

This commit is contained in:
Steffen Vogel 2018-02-17 11:18:10 +01:00
parent 088194eb29
commit c1ab96696b
2 changed files with 6 additions and 4 deletions

View file

@ -33,9 +33,9 @@ endif
endif
%.pb-c.c %.pb-c.h: %.proto
protoc-c --proto_path=$(SRCDIR) --c_out=$(SRCDIR) $(realpath $^)
$(BUILDDIR)/%.pb-c.o: LIB_CFLAGS += -I$(SRCDIR)
protoc-c --proto_path=$(SRCDIR) --c_out=$(SRCDIR) --dependency_out=$(BUILDDIR)/$*.d $(realpath $^)
$(BUILDDIR)/%.pb-c.o: LIB_CFLAGS += -I$(SRCDIR)
$(BUILDDIR)/lib/io/protobuf.o: LIB_CFLAGS += -I$(SRCDIR)/lib/io
$(BUILDDIR)/lib/io/protobuf.o: lib/io/villas.pb-c.h

View file

@ -21,6 +21,8 @@
/// along with this program. If not, see <http://www.gnu.org/licenses/>.
////////////////////////////////////////////////////////////////////////////////////
syntax = "proto2";
package villas.node;
message Message {