make: fix shell calling for pkg-config

This commit is contained in:
Mathieu Maret 2017-10-02 14:22:22 +02:00
parent 40ba6e51c9
commit ebc4b66f5a

View File

@ -2,13 +2,13 @@
# -MMD is used to generate .d files for user header dependencies (use -MD for system and user header instead) # -MMD is used to generate .d files for user header dependencies (use -MD for system and user header instead)
CPPFLAGS = -MMD CPPFLAGS = -MMD
# main compilation # main compilation
CFLAGS ?= -Werror -Wall #$(pkg-config --cflags sdl) CFLAGS ?= -Werror -Wall #$(shell pkg-config --cflags sdl)
# C++ flags # C++ flags
CXXFLAGS = CXXFLAGS =
#Linker flags #Linker flags
LDFLAGS = LDFLAGS =
#Linker path #Linker path
LDLIBS = #$(pkg-config --libs sdl) LDLIBS = #$(shell pkg-config --libs sdl)
ifneq ($(CROSS_COMPILE),) ifneq ($(CROSS_COMPILE),)
CC :=$(CROSS_COMPILE)$(CC) CC :=$(CROSS_COMPILE)$(CC)