From f8bd83d4bf2dffafefd4f5532c8bc8128278b4a7 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 25 Sep 2023 01:44:51 +0200 Subject: Makefile: Add warning and error compiler flags These are useful to have active to highlight easy to catch mistakes. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 1a5bcb6..cfa25a1 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,7 @@ OBJECTS := $(SOURCES:%.m=%.o) LOCALIZABLE_STRINGS := $(shell find Internationalization -name Localizable.strings) CFLAGS += -x objective-c +CFLAGS += -Wall -Werror LDFLAGS += -framework Cocoa -- cgit v1.2.3