SConscript 437 B

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