mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-12 17:37:07 +08:00
Have Make process exit if lextest fails
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user