1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-04 21:48:17 +00:00
trezor-firmware/core/embed/bootloader/protob/Makefile

11 lines
189 B
Makefile
Raw Normal View History

all: messages.pb.c
2017-06-14 18:40:31 +00:00
%.pb.c: %.pb %.options
nanopb_generator $< -T -D . -s "mangle_names:M_FLATTEN"
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