aboutsummaryrefslogtreecommitdiffstats
path: root/backends/protobuf/Makefile.inc
blob: 834cad42cde903ed6cfd05353e566e8b2368cc03 (plain)
1
2
3
4
5
6
7
8
ifeq ($(ENABLE_PROTOBUF),1)

backends/protobuf/yosys.pb.cc backends/protobuf/yosys.pb.h: misc/yosys.proto
	$(Q) cd misc && protoc --cpp_out "../backends/protobuf" yosys.proto

OBJS += backends/protobuf/protobuf.o backends/protobuf/yosys.pb.o

endif