Makefile: Add option CI to turn all warnings into errors

This commit is contained in:
René van Dorst committed 2026-09-21 19:50:11 +02:00
1 parent 88454ec7d7
commit 931e6da0ab
1 file changed
+4
+4
View File
@@ -20,6 +20,10 @@ else
CC_FLAGS += -DMACHINE_$(MACHINE)
endif
ifeq ($(CI),1)
CC_FLAGS += --Werror
endif
BUILDDIR = output/$(MACHINE)
VERSION_HEADER := version.h