changeset 1777:6992de3b6dbd

Use $(shell ..) instead of backticks.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 28 Oct 2017 17:46:30 +0300
parents eada713379fe
children 66de97fac646
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Oct 28 16:48:30 2017 +0300
+++ b/Makefile	Sat Oct 28 17:46:30 2017 +0300
@@ -20,8 +20,8 @@
 #CFLAGS += -DHAVE_UINT_T
 
 HAVE_LIBPNG ?= $(shell pkg-config --atleast-version=1.2 libpng && echo "yes")
-LIBPNG_CFLAGS ?= `pkg-config --cflags libpng`
-LIBPNG_LDFLAGS ?=  `pkg-config --libs libpng`
+LIBPNG_CFLAGS ?= $(shell pkg-config --cflags libpng)
+LIBPNG_LDFLAGS ?= $(shell pkg-config --libs libpng)
 
 
 ###