1 # Build the common files needed by multiple test cases
5 # Protocol definitions for the encode/decode_unittests
6 env.NanopbProto("unittestproto")
8 # Protocol definitions for basic_buffer/stream tests
9 env.NanopbProto("person")
11 # Binaries of the pb_decode.c and pb_encode.c
12 # These are built using more strict warning flags.
14 strict.Append(CFLAGS = strict['CORECFLAGS'])
15 strict.Object("pb_decode.o", "$NANOPB/pb_decode.c")
16 strict.Object("pb_encode.o", "$NANOPB/pb_encode.c")
17 strict.Object("pb_common.o", "$NANOPB/pb_common.c")
19 mw = env.Object("malloc_wrappers.o", "malloc_wrappers.c")
20 Depends(mw, ["malloc_wrappers_syshdr.h"])