mirror of
https://github.com/thepigeongenerator/sdl_template.git
synced 2025-12-17 05:55:47 +01:00
use pkgconfig instead of sdlconfig
This commit is contained in:
4
makefile
4
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
|
||||
|
||||
Reference in New Issue
Block a user