summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)