]> iEval git - filters.git/blobdiff - Makefile
* Better flex fixups; make sure to link with -lfl even if building
[filters.git] / Makefile
index c64135fd08a17aebdfea3565218d7c02aa937457..61342fb637c4911f3d8ea5f1206778e5207fab7c 100644 (file)
--- 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 censor spammer
-CFLAGS = -O2
+CFLAGS = -O2 -lfl
 INSTALL_PROGRAM = install
 
 # DEB_BUILD_OPTIONS suport, to control binary stripping.
@@ -32,13 +32,14 @@ samples:    $(BUILD) $(OTHER)
 clean:
        $(RM) -f core *.o *~ $(BUILD) *.c SAMPLES
        cd ky00te.dir && make clean
+       rm -f kraut.dir/lex.yy.c
 
 .SUFFIXES: .l
 
 .l:
        $(RM) $*.c
        $(LEX) -t $< > $*.c
-       $(CC) -O -o $@ $*.c -lfl $(CFLAGS)
+       $(CC) -o $@ $*.c $(CFLAGS)
        $(RM) $*.c
 
 .SUFFIXES: .dir
This page took 0.023232 seconds and 4 git commands to generate.