don't use ?=

This commit is contained in:
2025-01-25 16:00:09 +01:00
parent 7b001c64c7
commit 705d9df144

View File

@@ -1,16 +1,15 @@
NAME = sdl_template
# compiler settings
CC ?= clang
CC := clang
STD := c17
LANG = c
CFLAGS ?= $(shell pkg-config --cflags sdl2) -Wall -g -pedantic
LDFLAGS ?= $(shell pkg-config --libs sdl2) -lm
CFLAGS := $(shell pkg-config --cflags sdl2) -Wall -g -pedantic
LDFLAGS := $(shell pkg-config --libs sdl2) -lm
# dirs
DIR_BIN := bin
DIR_OBJ := obj
ARCH ?=
DIR := $(DIR_BIN)/$(ARCH) $(DIR_OBJ)/$(ARCH)
# source files