summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9877584..61824fd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,6 @@
-LDLIBS=-lSDL2
+CFLAGS = $(shell sdl2-config --cflags)
+CXXFLAGS = $(shell sdl2-config --cppflags)
+LDFLAGS = $(shell sdl2-config --ldflags)
+LDLIBS = $(shell sdl2-config --libs)
default: hmm