use pkgconfig instead of sdlconfig

This commit is contained in:
2025-01-13 00:21:41 +01:00
parent bc92e462ee
commit a8efd5875d

View File

@@ -2,8 +2,8 @@ NAME = sdl_template
# compiler settings
CC := clang
CFLAGS = $(shell sdl2-config --cflags) -Wall -g
LDFLAGS = $(shell sdl2-config --libs) -lm
CFLAGS = $(shell pkg-config --cflags sdl2) -Wall -g
LDFLAGS = $(shell pkg-config --libs sdl2) -lm
# file locations
DIR_BIN := bin