Avoid '$(shell ...)' macro
$(shell ...) macro is a GNU make extension. GNU make also supports `!=` operator, which is more portable.
This commit is contained in:
parent
22cd4d061c
commit
35b50246f4
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue