freebsd-dev/usr.sbin/pcvt/kcon/Makefile
Bruce Evans 6dd8984675 Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
libraries, so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.
1998-03-07 08:55:00 +00:00

15 lines
295 B
Makefile

PROG= kcon
DEVICE= /dev/ttyv0
CFLAGS+= -I${.CURDIR}/../keycap -DKEYB_DEVICE=\"${DEVICE}\"
.if exists(${.OBJDIR}/../keycap)
LIBKEYCAP= ${.OBJDIR}/../keycap/libkeycap.a
.else
LIBKEYCAP= ${.CURDIR}/../keycap/libkeycap.a
.endif
DPADD= ${LIBKEYCAP}
LDADD= ${LIBKEYCAP}
.include <bsd.prog.mk>