diagflags for diags

okay nicm@
This commit is contained in:
Marc Espie 2009-06-25 07:42:41 +00:00
parent dbbb297d5f
commit 5050171f6b

View File

@ -33,10 +33,10 @@ SRCS= arg.c attributes.c buffer-poll.c buffer.c cfg.c client-fn.c \
tty-write.c tty.c utf8.c window-choose.c window-clock.c \ tty-write.c tty.c utf8.c window-choose.c window-clock.c \
window-copy.c window-more.c window-scroll.c window.c xmalloc.c window-copy.c window-more.c window-scroll.c window.c xmalloc.c
CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2 CDIAGFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations CDIAGFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare CDIAGFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
CFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align CDIAGFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align
LDADD= -lutil -lncurses LDADD= -lutil -lncurses
DPADD= ${LIBUTIL} DPADD= ${LIBUTIL}