aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 7b968e634c89b3c2a864d7d23f2d0b13452108c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
nanopb: proto
	make -C libs/nanopb/generator/proto
	python libs/nanopb/generator/nanopb_generator.py gen/cpp/openxc.pb -f openxc.options

proto: openxc.proto
	@mkdir -p gen/java
	@mkdir -p gen/python
	@mkdir -p gen/cpp
	protoc -I . -I gen -ogen/cpp/openxc.pb --python_out=gen/python --java_out=gen/java $?

all: nanopb proto