From 75a6aa9258270169f43f56e063f1bfb57eebe56b Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Fri, 3 Apr 2020 17:10:52 -0400 Subject: Use gnu-case-range and gnu-conditional-omitted-operand extensions I'm sad to do this but I just can't stand writing (foo ? foo : bar) anymore. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4a610b7..68e673b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ PREFIX = /usr/local MANDIR = ${PREFIX}/share/man -CFLAGS += -std=c11 -Wall -Wextra -Wpedantic +CEXTS = gnu-case-range gnu-conditional-omitted-operand +CFLAGS += -std=c11 -Wall -Wextra -Wpedantic ${CEXTS:%=-Wno-%} LDLIBS = -lcrypto -ltls -lncursesw -include config.mk -- cgit 1.4.1-2-gfad0