aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTeddy Wing2023-09-25 01:44:51 +0200
committerTeddy Wing2023-09-25 01:45:27 +0200
commitf8bd83d4bf2dffafefd4f5532c8bc8128278b4a7 (patch)
tree185df736f94ef2cc5cf244695ab64aed96270967 /Makefile
parent4157ed88b241631b194046692bbf0e4464e839e8 (diff)
downloadBase-Windowed-Application-f8bd83d4bf2dffafefd4f5532c8bc8128278b4a7.tar.bz2
Makefile: Add warning and error compiler flags
These are useful to have active to highlight easy to catch mistakes.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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