]> granicus.if.org Git - flex/commitdiff
remove header from top; add rule to generate initscan.c just in case
authorWill Estes <wlestes@users.sourceforge.net>
Tue, 1 May 2001 20:30:15 +0000 (20:30 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Tue, 1 May 2001 20:30:15 +0000 (20:30 +0000)
Makefile.in

index 9c557741b98588752dc955cec43e8f63445cc6ec..a511e0553e09e67b7c1af2131c6f82e3091966f0 100644 (file)
@@ -1,5 +1,3 @@
-# @(#) $Header$ (LBL)
-
 @SET_MAKE@
 
 # Possible values for DEFS:
@@ -101,6 +99,10 @@ $(FLEX): .bootstrap $(OBJECTS) $(FLEXLIB)
        cp $(srcdir)/initscan.c scan.c
        touch .bootstrap
 
+# this is for developers who have to bootstrap sometimes
+initscan.c: scan.l
+       flex -t scan.l > initscan.c
+
 parse.c: parse.y
        $(YACC) -d $(srcdir)/parse.y
        @sed '/extern char.*malloc/d' <y.tab.c >parse.tmp