From a8efd5875dbffe9df19fac8f71f8a6904390da42 Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 13 Jan 2025 00:21:41 +0100 Subject: [PATCH] use pkgconfig instead of sdlconfig --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 31137f3..7a65bd6 100644 --- a/makefile +++ b/makefile @@ -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