Avoid '$(shell ...)' macro

$(shell ...) macro is a GNU make extension.  GNU make also supports `!=`
operator, which is more portable.
This commit is contained in:
Dmitrij D. Czarkoff 2016-08-11 00:21:17 +02:00
parent 22cd4d061c
commit 35b50246f4

View file

@ -15,8 +15,8 @@
CC ?= gcc CC ?= gcc
PREFIX ?= /usr/local PREFIX ?= /usr/local
SDL_CFLAGS := $(shell pkg-config --cflags sdl) SDL_CFLAGS != pkg-config --cflags sdl
SDL_LIBS := $(shell pkg-config --libs sdl) SDL_LIBS != pkg-config --libs sdl
LIB_VERSION = 1.0 LIB_VERSION = 1.0
LIB_SONAME = libquirc.so.1 LIB_SONAME = libquirc.so.1