mirror of
https://github.com/thepigeongenerator/sdl_template.git
synced 2025-12-17 05:55:47 +01:00
split cflags and libs
This commit is contained in:
4
makefile
4
makefile
@@ -2,8 +2,8 @@ NAME = sdl_template
|
|||||||
|
|
||||||
# compiler settings
|
# compiler settings
|
||||||
CC := clang
|
CC := clang
|
||||||
CFLAGS := -Wall -g
|
CFLAGS = $(shell sdl2-config --cflags) -Wall -g
|
||||||
LDFLAGS = $(shell sdl2-config --cflags --libs) -lm
|
LDFLAGS = $(shell sdl2-config --libs) -lm
|
||||||
|
|
||||||
# file locations
|
# file locations
|
||||||
DIR_BIN := bin
|
DIR_BIN := bin
|
||||||
|
|||||||
Reference in New Issue
Block a user