2 BUILD
= jethro kraut cockney jive nyc ken ky00te newspeak nethackify scramble
3 OTHER
= eleet b1ff chef jibberish upside-down rasterman studly fudd \
4 censor spammer uniencode pirate kenny scottish fanboy LOLCAT
10 INSTALL_PROGRAM
= install
12 # DEB_BUILD_OPTIONS suport, to control binary stripping.
13 ifeq (,$(findstring nostrip
,$(DEB_BUILD_OPTIONS
)))
17 all: $(OTHER
) $(BUILD
)
19 install: $(BUILD
) $(OTHER
)
20 install -d
$(DESTDIR
)/usr
/games
21 $(INSTALL_PROGRAM
) $(BUILD
) $(DESTDIR
)/usr
/games
/
22 install $(OTHER
) $(DESTDIR
)/usr
/games
/
23 install -d
$(DESTDIR
)/usr
/share
/man
/man6
24 install -m
0644 filters
.6 $(DESTDIR
)/usr
/share
/man
/man6
25 cd
$(DESTDIR
)/usr
/share
/man
/man6
&& \
26 $(foreach prog
,$(BUILD
) $(OTHER
),ln
-s filters
.6 $(prog
).6;)
29 $(RM
) -f core
*.o
*~
$(BUILD
)
30 cd ky00te.
dir && make
clean
37 $(CC
) -o
$@
$*.c
$(CFLAGS
) -lfl
$(LDFLAGS
)
45 nethackify
: nethackify.c