Merge pull request #698 from sieben/scan_build

Adding static analysis through the scan-build command
This commit is contained in:
Nicolas Tsiftes 2014-11-28 19:52:55 +01:00
commit 2a29214683
2 changed files with 18 additions and 0 deletions

View File

@ -47,3 +47,5 @@ cooja: $(CONTIKI)/tools/cooja/dist/cooja.jar
$(CONTIKI)/tools/cooja/dist/cooja.jar:
(cd $(CONTIKI)/tools/cooja; ant jar)
scan-build:
cd scan_build && scan-build $(MAKE)

View File

@ -0,0 +1,16 @@
EXAMPLESDIR=../../examples
TOOLSDIR=../../tools
EXAMPLES = \
hello-world/minimal-net \
hello-world/native \
eeprom-test/native \
example-shell/native \
tcp-socket/minimal-net \
telnet-server/minimal-net \
webserver/minimal-net \
wget/minimal-net \
TOOLS=
include ../Makefile.compile-test