diff options
-rw-r--r-- | bin/systrace/Makefile | 12 | ||||
-rw-r--r-- | bin/systrace/lex.l | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/bin/systrace/Makefile b/bin/systrace/Makefile index 1836cba033e..09dd506e191 100644 --- a/bin/systrace/Makefile +++ b/bin/systrace/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2002/06/04 19:38:10 provos Exp $ +# $OpenBSD: Makefile,v 1.4 2002/06/05 17:34:56 mickey Exp $ PROG= systrace CFLAGS+= -I. @@ -6,10 +6,10 @@ SRCS= filter.c intercept-translate.c intercept.c \ openbsd-syscalls.c util.c \ policy.c systrace-errno.h systrace-error.c \ systrace-translate.c systrace.c \ - parse.c lex.l -CLEANFILES+= parse.c parse.h - -parse.c: parse.y - ${YACC} -d -o parse.c ${.CURDIR}/parse.y + parse.y lex.l +CLEANFILES+= parse.c lex.c y.tab.h .include <bsd.prog.mk> + +.depend: parse.c lex.c + diff --git a/bin/systrace/lex.l b/bin/systrace/lex.l index 4dd8b6a55ae..79d64b0cbc5 100644 --- a/bin/systrace/lex.l +++ b/bin/systrace/lex.l @@ -1,4 +1,4 @@ -/* $OpenBSD: lex.l,v 1.5 2002/06/05 17:22:38 mickey Exp $ */ +/* $OpenBSD: lex.l,v 1.6 2002/06/05 17:34:56 mickey Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> @@ -45,7 +45,7 @@ #include "intercept.h" #include "systrace.h" -#include "parse.h" +#include "y.tab.h" int yyerror(char *fmt, ...); |