summaryrefslogtreecommitdiff
path: root/src/third_party/libstemmer_c/Makefile
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-12-25 12:07:05 -0500
committerEliot Horowitz <eliot@10gen.com>2012-12-25 12:25:45 -0500
commitd2df300721805ace411b5d1a87cb4bf6d8a51ff3 (patch)
tree7a3eca66bac5df2c74955bbd08fea9b60b822f6c /src/third_party/libstemmer_c/Makefile
parent13a61cb9c7ddce77b7f9aab812443802da8ee955 (diff)
downloadmongo-d2df300721805ace411b5d1a87cb4bf6d8a51ff3.tar.gz
SERVER-380: Add snowball stemmer
Diffstat (limited to 'src/third_party/libstemmer_c/Makefile')
-rw-r--r--src/third_party/libstemmer_c/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/third_party/libstemmer_c/Makefile b/src/third_party/libstemmer_c/Makefile
new file mode 100644
index 00000000000..64d6c8ea596
--- /dev/null
+++ b/src/third_party/libstemmer_c/Makefile
@@ -0,0 +1,9 @@
+include mkinc.mak
+CFLAGS=-Iinclude
+all: libstemmer.o stemwords
+libstemmer.o: $(snowball_sources:.c=.o)
+ $(AR) -cru $@ $^
+stemwords: examples/stemwords.o libstemmer.o
+ $(CC) -o $@ $^
+clean:
+ rm -f stemwords *.o src_c/*.o runtime/*.o libstemmer/*.o