blob: 73761a604324deafe00ff18d17974391ed55b653 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# $OpenBSD: Makefile,v 1.1.1.1 2008/01/02 18:36:59 matthieu Exp $
.include <bsd.obj.mk>
LIB= foo
SRCS= foo.c
BARDIR!= if test -d ${.CURDIR}/../libbar/${__objdir}; then \
echo "${.CURDIR}/../libbar/${__objdir}"; \
else \
echo "${.CURDIR}/../libbar"; \
fi
CPPFLAGS= -DBAR=\"${BARDIR}/libbar.so\"
regress: all
.include <bsd.lib.mk>
|