update build system to provide more warnings

This commit is contained in:
2025-01-26 11:38:33 +01:00
parent 796044a75a
commit 5337252be3
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ NAME = sdl_template
CC := clang
STD := c17
LANG = c
CFLAGS := $(shell pkg-config --cflags sdl2) -Wall -g -pedantic
CFLAGS := $(shell pkg-config --cflags sdl2) -O3 -g -Wall -Wall -Wextra -Wpedantic -Wno-pointer-arith
LDFLAGS := $(shell pkg-config --libs sdl2) -lm
# dirs