blanket removal of emacs cruft from changelog files, and some other minor
[filters.git] / Makefile
CommitLineData
7e3afbba 1# Various dialect translators.
2
3LEX = flex
4
bc19f2cf 5ALL = jethro kraut cockney jive nyc ken ky00te
e60f6df6 6OTHER = eleet b1ff chef jibberish upside-down rasterman
7e3afbba 7
8all: $(OTHER) $(ALL)
9
10install: $(ALL) $(OTHER)
11 install -d $(PREFIX)/usr/games
f49da801 12 install $(ALL) $(OTHER) $(PREFIX)/usr/games/
13 install -d $(PREFIX)/usr/share/man/man6
14 install -m 0644 filters.6 $(PREFIX)/usr/share/man/man6
15 cd $(PREFIX)/usr/share/man/man6 && \
7e3afbba 16 $(foreach prog,$(ALL) $(OTHER),ln -s filters.6 $(prog).6;)
17
18samples: $(ALL) $(OTHER)
f49da801 19 -rm -f SAMPLES
6e717d5c 20 PATH=.:$$PATH; export PATH; echo $(ALL) $(OTHER) |xargs -n 1 sh makesample.sh
7e3afbba 21
22clean:
23 $(RM) -f core *.o *~ $(ALL) *.c SAMPLES
bc19f2cf 24 cd ky00te.dir && make clean
7e3afbba 25
26.SUFFIXES: .l
27
28.l:
29 $(RM) $*.c
30 $(LEX) -t $< > $*.c
31 $(CC) -O -o $@ $*.c -lfl -g
32# strip $@
33 $(RM) $*.c
34
35.SUFFIXES: .dir
36
37.dir:
38 cd $<; make
f49da801 39
bc19f2cf 40ky00te:
41 cd ky00te.dir && make
42
f49da801 43kraut:
44 cd kraut.dir && lex kraut.l
45 cd kraut.dir && cc kraut.c lex.yy.c -o ../kraut
This page took 0.011189 seconds and 4 git commands to generate.