update build system to provide more warnings

This commit is contained in:
unset
2025-01-26 11:38:35 +01:00
parent f25594e060
commit c490162295
2 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ NAME = breakout_clone
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