]> granicus.if.org Git - postgresql/commitdiff
Have Make process exit if lextest fails
authorMarc G. Fournier <scrappy@hub.org>
Fri, 16 May 1997 01:09:39 +0000 (01:09 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Fri, 16 May 1997 01:09:39 +0000 (01:09 +0000)
src/lextest/Makefile

index e034e97ece33c6aa555502653ee789d5b2b0865c..f95b8aeb5fcd1b27a5149bbe03cbd57caae49930 100644 (file)
@@ -13,7 +13,7 @@ lextest: lextest.c scan.l
        $(CC) -c lex.yy.c
        $(CC) -c lextest.c
        $(CC) -o lextest lex.yy.o lextest.o
-       @echo "If this fails, flex is broken" | lextest || echo "You have a buggy version of flex.  Read INSTALL and search for flex for a fix."
+       @echo "If this fails, flex is broken" | lextest || echo "You have a buggy version of flex.  Read INSTALL and search for flex for a fix.";exit
 
 clean:
        rm -f lextest lex.yy.c lex.yy.o lextest.o