aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-10-16 17:56:20 +0200
committerLoïc Hoguin <[email protected]>2015-10-16 17:56:53 +0200
commita0839b6e24b7ccb16efc67a6e5900306bb5e176d (patch)
tree52970b4047d04a8b7a994a2ab4d5b8bcb016d521 /Makefile
parentffd1173d7c70c57c3d184f4542e592f56030b259 (diff)
downloadesdl2-a0839b6e24b7ccb16efc67a6e5900306bb5e176d.tar.gz
esdl2-a0839b6e24b7ccb16efc67a6e5900306bb5e176d.tar.bz2
esdl2-a0839b6e24b7ccb16efc67a6e5900306bb5e176d.zip
Update Erlang.mk
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