source: abnfparser/bap/Makefile.in @ 450

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

Also have to substitute LEX for those machines where both
lex and flex are installed and are different.

File size: 463 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
11LEX=    @LEX@
12CC=     @CC@
13
14bap:    ${OBJS}
15        ${CC} -o $@ ${DEBUG} ${OBJS} -ll
16
17scanner.c:      scanner.l ${HEADERS}
18parser.c:       parser.y ${HEADERS}
19
20main.c:
21
22main.o: ${HEADERS}
23
24clean:
25        rm -f bap scanner.c parser.c $(OBJS)
26        @make -C tests clean
27
28test: bap
29        @make -C tests test
Note: See TracBrowser for help on using the repository browser.