File: Makefile

package info (click to toggle)
wfrench 1.0-7
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 524 kB
  • ctags: 131
  • sloc: perl: 83; makefile: 69
file content (18 lines) | stat: -rw-r--r-- 393 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
LANG = french

all: $(LANG)

diacrit7to8: diacrit7to8.l
	flex -8 -f diacrit7to8.l
	gcc -O2 -fomit-frame-pointer lex.yy.c -lfl -o diacrit7to8
	@/bin/rm lex.yy.c

french: dico.gz diacrit7to8
	zcat dico.gz | ./diacrit7to8 > $@

install: all
	install -o root -g root -m 644 $(LANG) $(prefix)/dict
	install -o root -g root -m 644 words.5 $(prefix)/man/man5/$(LANG).5

clean:
	rm -f $(LANG) *~ ./#*