From 705d9df1444848f18200bed1dbdbd89353944cdb Mon Sep 17 00:00:00 2001 From: Quinn Date: Sat, 25 Jan 2025 16:00:09 +0100 Subject: [PATCH] don't use ?= --- makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/makefile b/makefile index 1efea54..c2d9530 100644 --- a/makefile +++ b/makefile @@ -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