diff options
author | Loïc Hoguin <[email protected]> | 2017-05-02 12:57:12 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-05-02 12:57:12 +0200 |
commit | e4f6a3c1f1032f83b25210dea21bbacf4552f8f0 (patch) | |
tree | 707b36c8098d32923b7b56154e76028b75d87f0d /Makefile | |
parent | 6783a9aa8370c0d4e5d45462709f3f50557caab1 (diff) | |
download | esdl2-e4f6a3c1f1032f83b25210dea21bbacf4552f8f0.tar.gz esdl2-e4f6a3c1f1032f83b25210dea21bbacf4552f8f0.tar.bz2 esdl2-e4f6a3c1f1032f83b25210dea21bbacf4552f8f0.zip |
Move nif_helpers into their own project
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -16,6 +16,10 @@ PROJECT = esdl2 PROJECT_DESCRIPTION = SDL2 Erlang NIF. PROJECT_VERSION = 0.1.0 +BUILD_DEPS = nif_helpers +dep_nif_helpers = git https://github.com/ninenines/nif_helpers master +DEP_PLUGINS = nif_helpers + # SDL 2.0.3 has this option enabled that causes problems with NIF functions. SDL2_LIBS_FILTER_OUT = -Wl,--no-undefined SDL2_LIBS = $(filter-out $(SDL2_LIBS_FILTER_OUT),$(shell sdl2-config --static-libs)) @@ -26,10 +30,6 @@ CFLAGS += $(shell sdl2-config --cflags) # @todo -undefined dynamic_lookup on OSX? LDLIBS += $(SDL2_LIBS) -lSDL2_image -ifeq ($(PLATFORM),msys2) - CFLAGS += -I"$(C_SRC_DIR)/compat/" -endif - check:: cppcheck scan-build cppcheck: |