From 7220ff627334a8f646617fe0fa542d401fb5287e Mon Sep 17 00:00:00 2001 From: "David A. Wheeler" Date: Thu, 4 Sep 2014 22:26:04 -0400 Subject: Patch so "make clean" removes generated source files, per Drew Davis --- makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 798d38c..ad2549a 100644 --- a/makefile +++ b/makefile @@ -128,6 +128,10 @@ EXECUTABLES= \ vbscript_count \ $(COMPILED_EXECUTABLES) + +# Generated below by flex; we need to know these so "make clean" works. +GENERATED_SOURCE=pascal_count.c jsp_count.c + MANPAGES=sloccount.1.gz MYDOCS=sloccount.html README TODO ChangeLog @@ -201,7 +205,7 @@ uninstall: uninstall_programs uninstall_docs uninstall_man clean: - -rm -f $(COMPILED_EXECUTABLES) core sloccount.1.gz + -rm -f $(COMPILED_EXECUTABLES) $(GENERATED_SOURCE) core sloccount.1.gz phptest: php_count ./php_count *.php -- cgit v1.2.1