1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00
trezor-firmware/embed/bootloader/protob/Makefile

11 lines
203 B
Makefile
Raw Normal View History

2017-06-14 18:40:31 +00:00
all: messages.pb.c types.pb.c
%.pb.c: %.pb %.options
2017-10-01 16:13:25 +00:00
../../../vendor/nanopb/generator/nanopb_generator.py $< -T
2017-06-14 18:40:31 +00:00
%.pb: %.proto
protoc -I/usr/include -I. $< -o $@
clean:
rm -f *.pb *.o *.pb.c *.pb.h