Need to sue ${LDFLAGS} when building local binaries so they get built

static if ${NOSHARED}==YES.  This makes it easier to bootstrap a system.
This commit is contained in:
Rodney W. Grimes 1994-05-29 12:43:06 +00:00
parent 329cfeccd5
commit 5b3d56346b

View File

@ -26,24 +26,24 @@ init.c: mkinit ${SRCS}
./mkinit '${CC} -c ${CFLAGS} init.c' ${.ALLSRC}
mkinit: ${.CURDIR}/mkinit.c
${CC} ${CFLAGS} ${.CURDIR}/mkinit.c -o $@
${CC} ${CFLAGS} ${LDFLAGS} ${.CURDIR}/mkinit.c -o $@
nodes.c nodes.h: mknodes ${.CURDIR}/nodetypes ${.CURDIR}/nodes.c.pat
./mknodes ${.CURDIR}/nodetypes ${.CURDIR}/nodes.c.pat
mknodes: ${.CURDIR}/mknodes.c
${CC} ${CFLAGS} ${.CURDIR}/mknodes.c -o $@
${CC} ${CFLAGS} ${LDFLAGS} ${.CURDIR}/mknodes.c -o $@
signames.c signames.h: mksignames
./mksignames
mksignames: ${.CURDIR}/mksignames.c
${CC} ${CFLAGS} ${.CURDIR}/mksignames.c -o $@
${CC} ${CFLAGS} ${LDFLAGS} ${.CURDIR}/mksignames.c -o $@
syntax.c syntax.h: mksyntax
./mksyntax
mksyntax: ${.CURDIR}/mksyntax.c ${.CURDIR}/parser.h
${CC} ${CFLAGS} ${.CURDIR}/mksyntax.c -o $@
${CC} ${CFLAGS} ${LDFLAGS} ${.CURDIR}/mksyntax.c -o $@
.include <bsd.prog.mk>