From 718adf8bf7e8c7230da17acb95dfcb2d7eadae98 Mon Sep 17 00:00:00 2001
From: "Marc G. Fournier" <scrappy@hub.org>
Date: Fri, 16 May 1997 01:09:39 +0000
Subject: [PATCH] Have Make process exit if lextest fails

---
 src/lextest/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lextest/Makefile b/src/lextest/Makefile
index e034e97ece3..f95b8aeb5fc 100644
--- a/src/lextest/Makefile
+++ b/src/lextest/Makefile
@@ -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
-- 
GitLab