Build the .y and .l files automatically using the rules in <bsd.sys.mk>.

This commit is contained in:
tv 1998-05-21 20:52:21 +00:00
parent b23fd7d3b5
commit 049797c55b
2 changed files with 6 additions and 4 deletions

View File

@ -1,14 +1,16 @@
# $NetBSD: Makefile,v 1.1.1.1 1997/12/18 07:37:37 thorpej Exp $
# $NetBSD: Makefile,v 1.2 1998/05/21 20:52:21 tv Exp $
LIB= common
SRCS= arparse.c arlex.c arsup.c bucomm.c version.c filemode.c rddbg.c \
SRCS= arparse.y arlex.l arsup.c bucomm.c version.c filemode.c rddbg.c \
debug.c stabs.c ieee.c rdcoff.c wrstabs.c
YHEADER=1
CPPFLAGS+=-DVERSION='"${VERSION}"' -DTARGET='"${TARGET}"'
NOPROFILE=
NOPIC=
NOLINT=
# only needed during build
libinstall::

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.1.1.1 1997/12/18 07:37:38 thorpej Exp $
# $NetBSD: Makefile,v 1.2 1998/05/21 20:52:22 tv Exp $
PROG= nlmconv
SRCS= nlmconv.c nlmheader.c
SRCS= nlmconv.c nlmheader.y
.include <bsd.prog.mk>