aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c3e58e2..f93f307 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,8 @@ PROJECT = esdl2
SDL2_LIBS_FILTER_OUT = -Wl,--no-undefined
SDL2_LIBS = $(filter-out $(SDL2_LIBS_FILTER_OUT),$(shell sdl2-config --static-libs))
-C_SRC_OPTS = $(shell sdl2-config --cflags) $(SDL2_LIBS) -lSDL2_image
+CFLAGS += $(shell sdl2-config --cflags)
+LDFLAGS += $(SDL2_LIBS) -lSDL2_image
include erlang.mk