From b2f4b8d850a6ac5d7d2db937e1bed5fe114abf22 Mon Sep 17 00:00:00 2001 From: Kyler Date: Sun, 23 Nov 2025 23:47:41 -0700 Subject: [PATCH] Fail compilation on warning --- SLS_C/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SLS_C/Makefile b/SLS_C/Makefile index 5ab1a65..fe8affe 100644 --- a/SLS_C/Makefile +++ b/SLS_C/Makefile @@ -1,9 +1,9 @@ # Makefile for SLS project with automatic header dependencies CC ?= gcc -CFLAGS ?= -std=c99 -Wall -Wextra -g -Iinclude -MMD -MP +CFLAGS ?= -std=c99 -Wall -Wextra -Werror -g -Iinclude -MMD -MP LDFLAGS ?= -CTESTFLAGS ?= -std=c99 -Wall -Wextra -Wno-unused-function -g -O0 -Iinclude -MMD -MP +CTESTFLAGS ?= -std=c99 -Wall -Wextra -Wno-unused-function -Werror -g -O0 -Iinclude -MMD -MP SRCDIR := src OBJDIR := obj