summaryrefslogtreecommitdiff
path: root/share/mk/bsd.prog.mk
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2012-12-31 21:54:43 +0000
committerMark Johnston <markj@FreeBSD.org>2012-12-31 21:54:43 +0000
commit593c0b49f944ab8cd766f2bbd887d44f6320f687 (patch)
treefccbaa2d95bdd3759e5d8fd560466eaec35b8033 /share/mk/bsd.prog.mk
parent7c5338d71ed1bef2de759a4ad94f65d8f66ea4cc (diff)
downloadsrc-test2-593c0b49f944ab8cd766f2bbd887d44f6320f687.tar.gz
src-test2-593c0b49f944ab8cd766f2bbd887d44f6320f687.zip
Notes
Diffstat (limited to 'share/mk/bsd.prog.mk')
-rw-r--r--share/mk/bsd.prog.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index 950d3817568c..cfa07a387510 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -46,6 +46,7 @@ PROG= ${PROG_CXX}
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
.if target(beforelinking)
+beforelinking: ${OBJS}
${PROG}: beforelinking
.endif
${PROG}: ${OBJS}
@@ -75,6 +76,7 @@ SRCS= ${PROG}.c
OBJS= ${PROG}.o
.if target(beforelinking)
+beforelinking: ${OBJS}
${PROG}: beforelinking
.endif
${PROG}: ${OBJS}