Use "print-objdir".

This commit is contained in:
thorpej 1998-09-29 08:16:11 +00:00
parent b569ddabe9
commit 005af97f9e
1 changed files with 2 additions and 3 deletions

View File

@ -4,9 +4,8 @@ CFLAGS+= -I${.CURDIR}/../keycap -DKEYB_DEVICE=\"${DEVICE}\"
NOMAN= yes
# the -Lfoo could be omitted if libkeycap.a were installed before
# making those programs here
KEYCAPOBJDIR!= cd ${.CURDIR}/../keycap; make print-objdir
LDADD = -L${.CURDIR}/../keycap -L${.CURDIR}/../keycap/obj -lkeycap
LDADD= -L${KEYCAPOBJDIR} -lkeycap
.include <bsd.prog.mk>