14 lines
314 B
Makefile
14 lines
314 B
Makefile
CFLAGS+= -I${.CURDIR}/..
|
|
|
|
CFLAGS+= -Wall
|
|
|
|
.include <bsd.obj.mk>
|
|
|
|
.if exists(${.CURDIR}/../lib/${__objdir})
|
|
LDADD+= -L${.CURDIR}/../lib/${__objdir} -lssh
|
|
DPADD+= ${.CURDIR}/../lib/${__objdir}/libssh.a
|
|
.else
|
|
LDADD+= -L${.CURDIR}/../lib -lssh
|
|
DPADD+= ${.CURDIR}/../lib/libssh.a
|
|
.endif
|