summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorDavid A. Wheeler <dwheeler@dwheeler.com>2013-09-02 20:43:51 -0400
committerDavid A. Wheeler <dwheeler@dwheeler.com>2013-09-02 20:43:51 -0400
commita8a34a8b51a40f1db189b5c664139bc59b56ade9 (patch)
tree9838be49096655d01d277dee2093f11d3366aac8 /makefile
parent798de4ba1bd05f681c7947a1aaa67ac6018e9ae3 (diff)
downloadsloccount-git-a8a34a8b51a40f1db189b5c664139bc59b56ade9.tar.gz
Add support for Apache Pig [from Clay B]
- https://sourceforge.net/p/sloccount/patches/16/
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/makefile b/makefile
index 9673db7..117341b 100644
--- a/makefile
+++ b/makefile
@@ -81,6 +81,7 @@ COMPILED_EXECUTABLES= \
lexcount1$(EXE_SUFFIX) \
pascal_count$(EXE_SUFFIX) \
php_count$(EXE_SUFFIX) \
+ pig_count$(EXE_SUFFIX) \
jsp_count$(EXE_SUFFIX) \
ml_count$(EXE_SUFFIX)
@@ -143,6 +144,9 @@ c_count$(EXE_SUFFIX): c_count.c
php_count$(EXE_SUFFIX): php_count.c
$(CC) php_count.c -o php_count$(EXE_SUFFIX)
+pig_count$(EXE_SUFFIX): php_count.c
+ $(CC) pig_count.c -o pig_count$(EXE_SUFFIX)
+
pascal_count.c: pascal_count.l driver.c driver.h
flex -Cfe -t pascal_count.l > pascal_count.c