split cflags and libs

This commit is contained in:
2025-01-12 22:51:40 +01:00
parent 4005e367e3
commit da0a63aa50

View File

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