Build the .y and .l files automatically using the rules in <bsd.sys.mk>.
This commit is contained in:
parent
b23fd7d3b5
commit
049797c55b
@ -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
|
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
|
debug.c stabs.c ieee.c rdcoff.c wrstabs.c
|
||||||
|
YHEADER=1
|
||||||
|
|
||||||
CPPFLAGS+=-DVERSION='"${VERSION}"' -DTARGET='"${TARGET}"'
|
CPPFLAGS+=-DVERSION='"${VERSION}"' -DTARGET='"${TARGET}"'
|
||||||
|
|
||||||
NOPROFILE=
|
NOPROFILE=
|
||||||
NOPIC=
|
NOPIC=
|
||||||
|
NOLINT=
|
||||||
|
|
||||||
# only needed during build
|
# only needed during build
|
||||||
libinstall::
|
libinstall::
|
||||||
|
@ -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
|
PROG= nlmconv
|
||||||
SRCS= nlmconv.c nlmheader.c
|
SRCS= nlmconv.c nlmheader.y
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user