summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid A. Wheeler <dwheeler@dwheeler.com>2014-09-04 22:26:04 -0400
committerDavid A. Wheeler <dwheeler@dwheeler.com>2014-09-04 22:26:04 -0400
commit7220ff627334a8f646617fe0fa542d401fb5287e (patch)
tree19274fc5070d88a6756053381e132a0c1f6bc8c8
parent18bd6698369e705cad41d0d658064e89585a235d (diff)
downloadsloccount-git-master.tar.gz
Patch so "make clean" removes generated source files, per Drew DavisHEADmaster
-rw-r--r--makefile6
1 files changed, 5 insertions, 1 deletions
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