X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=Makefile;h=4742a5a74d6661d46c13040dda5d973f575ece76;hb=38562f398d4188bf8e1b19199002e0d9758bb55d;hp=d4b7344b0f3ef9da29ee4543c8cf6cf3735a2aff;hpb=36c4fbeb71c255ff7620953d686f9aed7c5c8dcf;p=filters.git diff --git a/Makefile b/Makefile index d4b7344..4742a5a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ LEX = flex -BUILD = jethro kraut cockney jive nyc ken ky00te newspeak -OTHER = eleet b1ff chef jibberish upside-down rasterman studly fudd -CFLAGS = -O2 +BUILD = jethro kraut cockney jive nyc ken ky00te newspeak nethackify +OTHER = eleet b1ff chef jibberish upside-down rasterman studly fudd censor spammer uniencode +CFLAGS = -O2 -lfl INSTALL_PROGRAM = install # DEB_BUILD_OPTIONS suport, to control binary stripping. @@ -32,13 +32,15 @@ samples: $(BUILD) $(OTHER) clean: $(RM) -f core *.o *~ $(BUILD) *.c SAMPLES cd ky00te.dir && make clean + rm -f kraut.dir/lex.yy.c + cd nethackify.dir && make clean .SUFFIXES: .l .l: $(RM) $*.c $(LEX) -t $< > $*.c - $(CC) -O -o $@ $*.c -lfl $(CFLAGS) + $(CC) -o $@ $*.c $(CFLAGS) $(RM) $*.c .SUFFIXES: .dir @@ -52,3 +54,6 @@ ky00te: kraut: cd kraut.dir && lex kraut.l cd kraut.dir && cc kraut.c lex.yy.c -o ../kraut + +nethackify: + cd nethackify.dir && make