]> thyrsus.com Git - intercal.git/commitdiff
Add a splint production.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 31 Aug 2010 18:57:41 +0000 (14:57 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 31 Aug 2010 18:57:41 +0000 (14:57 -0400)
Makefile.am

index 65f5bbb31b6ff852a89aef3b06512a8e643b20f1..d3ee86c4a144c03e5e8a578a7f54b32283a18be0 100644 (file)
@@ -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