--- flawfinder-1.26/makefile.orig 2004-06-16 04:11:10 +0400 +++ flawfinder-1.26/makefile 2004-06-22 19:02:31 +0400 @@ -94,13 +94,18 @@ echo "Lines examined:" wc -l $(SAMPLE_DIR)/*/*.[ch] | tail -2 -test: flawfinder test.c test2.c +test-results.txt: flawfinder test.c test2.c # Omit time report so that results are always the same textually. ./flawfinder --omittime test.c test2.c > test-results.txt + +test-results.html: flawfinder test.c test2.c + # Omit time report so that results are always the same textually. ./flawfinder --omittime --html --context test.c test2.c > test-results.html - less test-results.txt -check: +test: test-results.txt test-results.html + less $^ + +check: test-results.txt diff -u correct-results.txt test-results.txt test-is-correct: test-results.txt