aboutsummaryrefslogtreecommitdiff
path: root/src/lextest/Makefile
blob: 5ce9d24a68a12e13da1dc7d610e69386d8d8c39f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Makefile - test for 2.5.3 flex bug
# Bruce Momjian 5/14/97
#
SRCDIR= ../
include ../Makefile.global

.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 || rm -f lextest

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