6dd8984675
libraries, so that `ld -f' in can create correct dependencies for yet-to-be-built libraries.
15 lines
295 B
Makefile
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>
|