[splint-discuss] How to specify what all .c files to be checked by splint in the input file

Roland Illig roland.illig at gmx.de
Fri Oct 22 07:25:53 EDT 2004


Himanshu Bhalla wrote:
> Hi all,
> I am using the windows version of splint.
> 
> -f <input file> option can be given through the command line to
> specify the various command line options for splint.
> 
> I am not able to figure out ways to specify the directory path
> or the .c source files which should be checked by splint in the
> input file.
> 
> I am only stuck at >splint -f splint-options.txt *.c ..\common\*.c
> I just want the following >splint -f splint-options.txt
> and I will specify the .c files to be checked in the splint-options.txt 
> file.
> 
> Can anyone suggest some answers.
> Thanks,
> Himanshu

Write a batch file:

@echo off
splint -f splint-options.txt *.c ..\common\*.c

Roland



More information about the splint-discuss mailing list