7e659f9491
This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@
19 lines
362 B
Makefile
19 lines
362 B
Makefile
# $Id: Makefile,v 1.6 2006/09/07 21:36:55 max Exp $
|
|
# $FreeBSD$
|
|
|
|
PROG= bthidd
|
|
MAN= bthidd.8
|
|
# bthidd.conf.5
|
|
SRCS= bthidd.c client.c hid.c kbd.c lexer.l parser.y server.c \
|
|
session.c
|
|
|
|
CFLAGS+= -I${.CURDIR}
|
|
DEBUG_FLAGS= -g
|
|
|
|
DPADD= ${LIBBLUETOOTH} ${LIBUSBHID}
|
|
LDADD= -lbluetooth -lusbhid
|
|
|
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
|
|
|
.include <bsd.prog.mk>
|