From 9e85bd36df2e6938a84c1658d94e93b5bfafe6e5 Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Fri, 27 Aug 2021 20:15:16 +0200 Subject: [PATCH] C templates GNUmakefile: add nowarn target --- c/templates/GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/c/templates/GNUmakefile b/c/templates/GNUmakefile index adf038d..46767fd 100644 --- a/c/templates/GNUmakefile +++ b/c/templates/GNUmakefile @@ -29,6 +29,9 @@ include makefile all: CFLAGS+=-DTESTALL all: clean test +nowarn: CFLAGS:=$(filter-out -Wextra -Wall,$(CFLAGS)) +nowarn: clean test + debugall: CFLAGS+=-DDEBUG debugall: all