1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
SOURCES = morph.fst symbols.fst map1.fst map2.fst defaultstems.fst \
suffixfilter.fst prefixfilter.fst compoundfilter.fst inflection.fst \
inflectionfilter.fst phon.fst
.PHONY: targets
targets: morph.a
morph.a: phon.a map1.a map2.a prefixfilter.a suffixfilter.a compoundfilter.a \
inflection.a inflectionfilter.a lexicon
%.a: %.fst
fst-compiler $< $@
%.ca: %.a
fst-compact $< $@
archive:
gtar -zcf VERSION-`date '+%y%m%d'`.tar.gz Makefile lexicon *.fst
clean:
-rm *.a *~ Makefile.bak 2>&- > /dev/null
Makefile: *.fst
-makedepend -Y -o.a $(SOURCES) 2>/dev/null
# DO NOT DELETE
morph.a: symbols.fst defaultstems.fst
map1.a: symbols.fst
map2.a: symbols.fst
suffixfilter.a: symbols.fst
prefixfilter.a: symbols.fst
compoundfilter.a: symbols.fst
inflection.a: symbols.fst
inflectionfilter.a: symbols.fst
phon.a: symbols.fst
|