1 # Check the nanopb core using splint 2 3 Import('env') 4 5 p = env.WhereIs('splint') 6 7 if p: 8 env.Command('pb_decode.splint', '$NANOPB/pb_decode.c', 9 'splint -f splint/splint.rc $SOURCE 2> $TARGET') 10 11 env.Command('pb_encode.splint', '$NANOPB/pb_encode.c', 12 'splint -f splint/splint.rc $SOURCE 2> $TARGET') 13 14