mirror of
https://github.com/thepigeongenerator/sdl_template.git
synced 2025-12-17 05:55:47 +01:00
don't use ?=
This commit is contained in:
7
makefile
7
makefile
@@ -1,16 +1,15 @@
|
|||||||
NAME = sdl_template
|
NAME = sdl_template
|
||||||
|
|
||||||
# compiler settings
|
# compiler settings
|
||||||
CC ?= clang
|
CC := clang
|
||||||
STD := c17
|
STD := c17
|
||||||
LANG = c
|
LANG = c
|
||||||
CFLAGS ?= $(shell pkg-config --cflags sdl2) -Wall -g -pedantic
|
CFLAGS := $(shell pkg-config --cflags sdl2) -Wall -g -pedantic
|
||||||
LDFLAGS ?= $(shell pkg-config --libs sdl2) -lm
|
LDFLAGS := $(shell pkg-config --libs sdl2) -lm
|
||||||
|
|
||||||
# dirs
|
# dirs
|
||||||
DIR_BIN := bin
|
DIR_BIN := bin
|
||||||
DIR_OBJ := obj
|
DIR_OBJ := obj
|
||||||
ARCH ?=
|
|
||||||
DIR := $(DIR_BIN)/$(ARCH) $(DIR_OBJ)/$(ARCH)
|
DIR := $(DIR_BIN)/$(ARCH) $(DIR_OBJ)/$(ARCH)
|
||||||
|
|
||||||
# source files
|
# source files
|
||||||
|
|||||||
Reference in New Issue
Block a user