Corrected Makefile syntaxe.

This commit is contained in:
Ulysse Cura 2026-07-16 22:48:44 +02:00
parent 74679a69f1
commit af6a048bd3
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ CORE_SOURCES := \
# Compiler and flags
CORE_CC = gcc
#CORE_CFLAGS = -std=c17 -pedantic -O3 -fPIC -DASSET_FILENAME=$(ASSET_OUTPUT) # RELEASE
#CORE_CFLAGS = -std=c17 -pedantic -O3 -fPIC -DASSET_FILENAME=$(ASSET_OUTPUT) $(shell pkg-config --cflags sdl2 SDL2_image) # RELEASE
CORE_CFLAGS = -std=c17 --pedantic -g -fPIC -DASSET_FILENAME=$(BUILD_DIR)/$(ASSET_OUTPUT) $(shell pkg-config --cflags sdl2 SDL2_image) \
-Wall -Wno-missing-braces -Wextra -Wno-missing-field-initializers \
-Wformat=2 -Wswitch-default -Wswitch-enum -Wcast-align \