X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=Makefile;h=13d54a4e13ab5324ec3e1929c77f3c48161a06b3;hb=846aed59c5121e74a5d8c7b9c0421487933d1536;hp=81a90fca921f44b7bec35ab05918b69f7bdf8848;hpb=629ef42e89f2cb3ae78c5b9b849f752928c2b861;p=filters.git diff --git a/Makefile b/Makefile index 81a90fc..13d54a4 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ LEX = flex -BUILD = jethro kraut cockney jive nyc ken ky00te newspeak nethackify +BUILD = jethro kraut cockney jive nyc ken ky00te newspeak nethackify scramble OTHER = eleet b1ff chef jibberish upside-down rasterman studly fudd \ - censor spammer uniencode pirate kenny scottish fanboy -CFLAGS = -O2 -lfl + censor spammer uniencode pirate kenny scottish fanboy LOLCAT +CFLAGS = -O2 export CFLAGS INSTALL_PROGRAM = install @@ -29,20 +29,18 @@ install: $(BUILD) $(OTHER) samples: $(BUILD) $(OTHER) -rm -f SAMPLES - PATH=.:$$PATH; export PATH; echo $(BUILD) $(OTHER) |grep -v fanboy |xargs -n 1 sh makesample.sh + PATH=.:$$PATH; export PATH; echo $(BUILD) $(OTHER) | xargs -n 1 sh makesample.sh clean: - $(RM) -f core *.o *~ $(BUILD) *.c SAMPLES + $(RM) -f core *.o *~ $(BUILD) 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 $@ $*.c $(CFLAGS) + $(CC) -o $@ $*.c $(CFLAGS) -lfl $(RM) $*.c .SUFFIXES: .dir @@ -53,9 +51,5 @@ clean: ky00te: cd ky00te.dir && make -kraut: - cd kraut.dir && lex kraut.l - cd kraut.dir && $(CC) kraut.c lex.yy.c -o ../kraut - -nethackify: - cd nethackify.dir && make +nethackify: nethackify.c +scramble: scramble.c