From: Dennis Schafroth Date: Tue, 9 Nov 2010 13:08:24 +0000 (+0100) Subject: Change the archive extension to .a X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=49acdc83cfba4116d446e4119ba3a216d67bc9e4;p=libstemmer_c.git Change the archive extension to .a --- diff --git a/Makefile b/Makefile index 64d6c8e..fd06533 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ include mkinc.mak CFLAGS=-Iinclude -all: libstemmer.o stemwords -libstemmer.o: $(snowball_sources:.c=.o) +all: libstemmer.a stemwords +libstemmer.a: $(snowball_sources:.c=.o) $(AR) -cru $@ $^ -stemwords: examples/stemwords.o libstemmer.o +stemwords: examples/stemwords.o libstemmer.a $(CC) -o $@ $^ clean: - rm -f stemwords *.o src_c/*.o runtime/*.o libstemmer/*.o + rm -f stemwords libstemmer.a *.o src_c/*.o runtime/*.o libstemmer/*.o