X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/a8e557d3925057c15b9551be5f9f712fec5f6c90..2934b455c4074408a0f819009c071456f021ba21:/src/Makefile diff --git a/src/Makefile b/src/Makefile index ced5c72..993caa3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -47,6 +47,7 @@ include Makefile.sys CHECK = 0 ### set to 1 LCLINT = //tmp/lclint-2.5q/bin/lclint +#LCLINT = ../bin/lclint ### ### source files @@ -312,10 +313,15 @@ $(CHECKS): lclint.lcd ### other flags are in .lclintrc file ### -lint: - $(LCLINT) -f lclint.lclintrc $(CPPFLAGS) +singleinclude -nestcomments -mustfree -namechecks -abstract -boolops -protoparammatch -unqualifiedtrans -dependenttrans $(ALLSRC) -dump lclint +#lint: +# $(LCLINT) -f lclint.lclintrc $(CPPFLAGS) +forcehints +singleinclude -nestcomments -fcnuse -allimponly -modglobsnomods -uniondef -exportlocal -exportheader -abstract -namechecks -protoparammatch -boolops $(ALLSRC) -dump lclint +lint: + $(LCLINT) -f lclint.lclintrc $(CPPFLAGS) +forcehints +singleinclude -nestcomments -fcnuse -uniondef +allimponly -branchstate -exportlocal -exportheader -abstract -namechecks -protoparammatch -temptrans -boolops $(ALLSRC) -dump lclint +myall: + -$(RM) -f ../bin/lclint; \ + gmake -C ..