# $OpenBSD: Makefile,v 1.1.1.1 2008/01/02 18:36:59 matthieu Exp $ .include 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