~snowball-yiddish-dev/snowball-yiddish/trunk

« back to all changes in this revision

Viewing changes to snowball/GNUmakefile

  • Committer: richard
  • Date: 2004-02-25 11:41:49 UTC
  • Revision ID: svn-v4:633ccae0-01f4-0310-8c99-d3591da6f01f:trunk:244
Add german2 stemmer, and fixes for some of the compiler warnings reported.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
c_src_dir = src_c
4
4
 
5
 
languages = danish dutch english finnish french german italian lovins \
 
5
languages = danish dutch english finnish french german german2 italian lovins \
6
6
            norwegian porter portuguese russian spanish swedish
7
7
lang_aliases = da=danish \
8
8
               de=german \
50
50
C_OBJECTS = $(C_SOURCES:.c=.o)
51
51
 
52
52
CFLAGS=-Ilibstemmer
 
53
CPPFLAGS=-W -Wall -Wmissing-prototypes -Wmissing-declarations # -Werror
53
54
 
54
55
all: snowball libstemmer.o stemwords
55
56
 
83
84
        ./snowball $< -o $${o} -eprefix $${l}_
84
85
 
85
86
$(c_src_dir)/stem_%.o: $(c_src_dir)/stem_%.c $(c_src_dir)/stem_%.h
86
 
        $(CC) $(CFLAGS) -O4 -c -o $@ -I runtime/ $<
 
87
        $(CC) $(CFLAGS) $(CPPFLAGS) -O4 -c -o $@ -I runtime/ $<
87
88
 
88
89
splint: snowball.splint
89
90
snowball.splint: $(COMPILER_SOURCES)