summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-07 13:46:03 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-07 13:46:03 +0100
commit8f725a8b90feeca18198add9cea3ff88e495581d (patch)
tree4bad98cb85c0fd57be765f0de7e03cd426509245
parent2b0e7310eec1c32e51c35952cfa387231c098303 (diff)
replaced deprecated use of backticks
The $(...) notation is meant to be used as a replacement for backticks `...` Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 689b79f..743e0bc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CC ?= gcc
-CFLAGS += -W -Wall -std=c99 -Wextra `sdl-config --cflags`
-LDFLAGS += `sdl-config --libs` -lSDL_image -lSDL_ttf
+CFLAGS += -W -Wall -std=c99 -Wextra $(shell sdl-config --cflags)
+LDFLAGS += $(shell sdl-config --libs) -lSDL_image -lSDL_ttf
NAME = a.out
SRC = $(wildcard *.c)