run_lint.sh revision 1.1
1#!/bin/sh 2# Id: run_lint.sh,v 1.1 2010/06/08 09:00:58 tom Exp 3# vi:ts=4 sw=4: 4 5# run lint on each of the ".c" files in the test directory 6 7if test $# = 1 8then 9 PROG_DIR=`pwd` 10 TEST_DIR=$1 11else 12 PROG_DIR=.. 13 TEST_DIR=. 14fi 15 16echo '** '`date` 17for i in ${TEST_DIR}/*.c 18do 19 make -f $PROG_DIR/makefile lint C_FILES=$i srcdir=$PROG_DIR 20done 21