[splint-discuss] How to run splint for an entire project containing many directory and subdirectories
srinivas naga vutukuri
srinivas.vutukuri at gmail.com
Tue Mar 25 23:19:45 PST 2008
Just defining a lint rule in your makefile would allow to achieve that, i think
like this,
lint:$(C_FILES)
$(LINT) $(LINTFLAGS) $(C_FILES) $(LINTLIBS) $(INCLUDES)
total C_FILES will get like this, specifiy FOLDERS of your project,
C_FILES = $(foreach dir,$(FOLDERS),$(wildcard $(dir)/src/*.c))
LINT will be your lint application, and similarly LINTLIBS, INCLUDES,
-srinivas.
On Wed, Mar 26, 2008 at 11:59 AM, ujjal saha <ujjalsaha at indiatimes.com> wrote:
>
>
>
> Hello,
>
> How to run splint for a project containing directories and subdirectories
> Each directory contains related header and C source files.
>
> Is there any way i.e. using flags, Can I run splint for the above mentioned problem?
>
> If yes, how?
> If not ? What might be the possible solution..?
>
>
> Regards,
> Pan
> _______________________________________________
> splint-discuss mailing list
> splint-discuss at mail.cs.virginia.edu
> http://www.cs.virginia.edu/mailman/listinfo/splint-discuss
>
More information about the splint-discuss
mailing list