summaryrefslogtreecommitdiff
path: root/regress/misc/exceptions/foo/Makefile
blob: 2c1087d388a489646394a3d0e98cd9c5ab80bca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.include <bsd.obj.mk>

BAR_DIR=	${.CURDIR}/../libbar

BAR_OBJDIR!=	if [ -d $(BAR_DIR)/${__objdir} ]; then \
			echo "$(BAR_DIR)/${__objdir}"; \
		else \
			echo "$(BAR_DIR)"; \
		fi

PROG=		foo
SRCS=		foo.cc
LDADD=		-Wl,-rpath,$(BAR_OBJDIR) -L$(BAR_OBJDIR) -lbar

.include <bsd.regress.mk>