From 1947c4d7f32272ec0c5b9295808cde4c9138995c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 19 Apr 2017 14:48:57 +0200 Subject: Fix warnings in preparation for splitting nif_helpers out --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6cfe5df..f8d717b 100644 --- a/Makefile +++ b/Makefile @@ -20,12 +20,12 @@ PROJECT_VERSION = 0.1.0 SDL2_LIBS_FILTER_OUT = -Wl,--no-undefined SDL2_LIBS = $(filter-out $(SDL2_LIBS_FILTER_OUT),$(shell sdl2-config --static-libs)) +include erlang.mk + CFLAGS += $(shell sdl2-config --cflags) # @todo -undefined dynamic_lookup on OSX? LDLIBS += $(SDL2_LIBS) -lSDL2_image -include erlang.mk - ifeq ($(PLATFORM),msys2) CFLAGS += -I"$(C_SRC_DIR)/compat/" endif -- cgit v1.2.3