]> granicus.if.org Git - flex/commitdiff
Added intermediate file going scan.l -> scan.c
authorVern Paxson <vern@ee.lbl.gov>
Mon, 29 Nov 1993 21:35:04 +0000 (21:35 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Mon, 29 Nov 1993 21:35:04 +0000 (21:35 +0000)
Makefile.in

index e1a86d48f4a2510a8ba6aeb829c14ccf38a703e4..c154cb27a09d1c9b413646a6fe67e6b5172d8dc4 100644 (file)
@@ -109,7 +109,8 @@ parse.h: parse.c
 
 scan.c: scan.l
        $(FLEX) $(FLEX_FLAGS) $(COMPRESSION) $(srcdir)/scan.l \
-       | sed s,\"$(srcdir)/scan.l\",\"scan.l\", >scan.c
+       | sed s,\"$(srcdir)/scan.l\",\"scan.l\", >scan.tmp
+       mv scan.tmp scan.c
 
 scan.o: scan.c parse.h flexdef.h
 
@@ -194,7 +195,7 @@ gcc-lint: $(LINTSRCS)
        gcc -Dlint -Wall $(LINTSRCS) >flex.gcc-lint 2>&1
 
 mostlyclean:
-       rm -f *~ *.bak core errs
+       rm -f *~ *.bak core errs scan.tmp
 
 clean: mostlyclean
        rm -f parse.c parse.h *.o *.lint lex.yy.c $(FLEXLIB)