From: Eric S. Raymond Date: Tue, 31 Aug 2010 18:57:41 +0000 (-0400) Subject: Add a splint production. X-Git-Tag: 0.29~77^2~8 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=a100512f2397bb08a73e9729a78330b1bd55be2b;p=intercal.git Add a splint production. --- diff --git a/Makefile.am b/Makefile.am index 65f5bbb..d3ee86c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -98,6 +98,12 @@ EXTRA_DIST = pit etc BUGS src/abcess.h src/feh.h src/fiddle.h src/ick_ec.h \ doc/THEORY.txt doc/tidy.cfg parser.c parser.h \ lexer.c doc/ick.txi doc/ick.txt NEWS README yylwrap autogen.sh +# How to run splint on this code +SPLINTOPTS = -I. -Isrc +quiet -warnposix -boolops -predboolint +splint: + @echo "Running splint on ick..." + -splint $(SPLINTOPTS) -exportlocal -redef $(ick_SOURCES) + # It's ugly to distribute the prebuilt files in the root of the # distribution. configure will move these files back again into the # root of the /build tree/, which makes a lot more sense than putting