diff options
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile index 84c035e5..caed5bad 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -10,6 +10,10 @@ clean: %: %.c $(DEPS) $(CC) $(CFLAGS) -o $@ $< ../pb_decode.c ../pb_encode.c +person.h: person.proto + protoc -I. -I../generator -I/usr/include -operson.pb $< + python ../generator/nanopb_generator.py person.pb + run_unittests: decode_unittests encode_unittests ./decode_unittests ./encode_unittests |