Last change
on this file since 1109 was
450,
checked in by fielding@…, 14 years ago
|
Also have to substitute LEX for those machines where both
lex and flex are installed and are different.
|
File size:
463 bytes
|
Rev | Line | |
---|
[407] | 1 | # |
---|
| 2 | # $Id: Makefile.in,v 1.1 2008-05-28 12:01:58 jre Exp $ |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | OBJS= parser.o scanner.o main.o @LIBOBJS@ |
---|
| 6 | HEADERS= config.h common.h |
---|
| 7 | |
---|
| 8 | CFLAGS= @CFLAGS@ @DEFS@ -DYYDEBUG |
---|
[449] | 9 | LFLAGS= @FLEXFLAGS@ |
---|
[407] | 10 | YACC= @YACC@ -d -v |
---|
[450] | 11 | LEX= @LEX@ |
---|
[407] | 12 | CC= @CC@ |
---|
| 13 | |
---|
| 14 | bap: ${OBJS} |
---|
| 15 | ${CC} -o $@ ${DEBUG} ${OBJS} -ll |
---|
| 16 | |
---|
| 17 | scanner.c: scanner.l ${HEADERS} |
---|
| 18 | parser.c: parser.y ${HEADERS} |
---|
| 19 | |
---|
| 20 | main.c: |
---|
| 21 | |
---|
| 22 | main.o: ${HEADERS} |
---|
| 23 | |
---|
| 24 | clean: |
---|
| 25 | rm -f bap scanner.c parser.c $(OBJS) |
---|
| 26 | @make -C tests clean |
---|
| 27 | |
---|
| 28 | test: bap |
---|
| 29 | @make -C tests test |
---|
Note: See
TracBrowser
for help on using the repository browser.