File: Makefile

package info (click to toggle)
sfst 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,036 kB
  • sloc: cpp: 6,969; lex: 567; yacc: 269; perl: 135; python: 100; makefile: 49; sh: 13
file content (39 lines) | stat: -rw-r--r-- 839 bytes parent folder | download | duplicates (5)
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