aboutsummaryrefslogtreecommitdiff
path: root/src/lextest/Makefile
blob: 4f8e167a85e8afa1ee62fe85852c5791ae5e1a5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# Makefile - test for 2.5.3 flex bug
# Bruce Momjian 5/14/97
#
.DEFAULT all : lextest

install:

depend:

lextest: lextest.c scan.l
	$(LEX) 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 doc/README.flex for a fix."

clean:
	rm -f lextest lex.yy.c lex.yy.o lextest.o