source: abnfparser/bap/Makefile.in @ 449

Last change on this file since 449 was 449, checked in by fielding@…, 11 years ago

If lex is actually flex (as it is on Mac OS X), then the -l flag is
required in order to support yylineo. make uses LFLAGS to set flags
for the automatic rule for running lex.

File size: 452 bytes
Line 
1#
2# $Id: Makefile.in,v 1.1 2008-05-28 12:01:58 jre Exp $
3#
4
5OBJS=   parser.o scanner.o main.o @LIBOBJS@
6HEADERS= config.h common.h
7
8CFLAGS= @CFLAGS@ @DEFS@ -DYYDEBUG
9LFLAGS= @FLEXFLAGS@
10YACC=   @YACC@ -d -v
11CC=     @CC@
12
13bap:    ${OBJS}
14        ${CC} -o $@ ${DEBUG} ${OBJS} -ll
15
16scanner.c:      scanner.l ${HEADERS}
17parser.c:       parser.y ${HEADERS}
18
19main.c:
20
21main.o: ${HEADERS}
22
23clean:
24        rm -f bap scanner.c parser.c $(OBJS)
25        @make -C tests clean
26
27test: bap
28        @make -C tests test
Note: See TracBrowser for help on using the repository browser.