2 BUILD
= jethro kraut cockney jive nyc ken ky00te newspeak
3 OTHER
= eleet b1ff chef jibberish upside-down rasterman studly fudd censor spammer
5 INSTALL_PROGRAM
= install
7 # DEB_BUILD_OPTIONS suport, to control binary stripping.
8 ifeq (,$(findstring nostrip
,$(DEB_BUILD_OPTIONS
)))
13 ifneq (,$(findstring debug
,$(DEB_BUILD_OPTIONS
)))
17 all: $(OTHER
) $(BUILD
)
19 install: $(BUILD
) $(OTHER
)
20 install -d
$(PREFIX
)/usr
/games
21 $(INSTALL_PROGRAM
) $(BUILD
) $(PREFIX
)/usr
/games
/
22 install $(OTHER
) $(PREFIX
)/usr
/games
/
23 install -d
$(PREFIX
)/usr
/share
/man
/man6
24 install -m
0644 filters
.6 $(PREFIX
)/usr
/share
/man
/man6
25 cd
$(PREFIX
)/usr
/share
/man
/man6
&& \
26 $(foreach prog
,$(BUILD
) $(OTHER
),ln
-s filters
.6 $(prog
).6;)
28 samples
: $(BUILD
) $(OTHER
)
30 PATH
=.
:$$PATH; export PATH
; echo
$(BUILD
) $(OTHER
) |xargs
-n
1 sh makesample.sh
33 $(RM
) -f core
*.o
*~
$(BUILD
) *.c SAMPLES
34 cd ky00te.
dir && make
clean
41 $(CC
) -O
-o
$@
$*.c
-lfl
$(CFLAGS
)
53 cd kraut.
dir && lex kraut.l
54 cd kraut.
dir && cc kraut.c
lex.yy.c
-o ..
/kraut