From d7a85cb2c9ea23ba76dbcd155a123c7a0589530f Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Fri, 16 May 1997 02:00:03 +0000 Subject: Modify lextest and GNUmakefile so that if the test does fail, the make doesn't proceed --- src/lextest/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lextest') diff --git a/src/lextest/Makefile b/src/lextest/Makefile index f95b8aeb5f..033629c020 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.";exit + @echo "If this fails, flex is broken" | ./lextest || rm -f lextest clean: rm -f lextest lex.yy.c lex.yy.o lextest.o -- cgit v1.2.1