diff options
author | Loïc Hoguin <[email protected]> | 2013-12-02 15:52:29 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-12-02 15:52:29 +0100 |
commit | 72ef4ef2f771570081934212ad11d55744e7f68e (patch) | |
tree | 07c4759631617de2f9a9995251b7e938698b9df0 /erlang.mk | |
parent | 893e612b61400005f692f58606dcdf2949568889 (diff) | |
download | cowboy-72ef4ef2f771570081934212ad11d55744e7f68e.tar.gz cowboy-72ef4ef2f771570081934212ad11d55744e7f68e.tar.bz2 cowboy-72ef4ef2f771570081934212ad11d55744e7f68e.zip |
Update erlang.mk again
Diffstat (limited to 'erlang.mk')
-rw-r--r-- | erlang.mk | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -90,7 +90,13 @@ ALL_TEST_DEPS_DIRS = $(addprefix $(DEPS_DIR)/,$(TEST_DEPS)) # Application. -ERL_LIBS ?= $(DEPS_DIR) +ifeq ($(filter $(DEPS_DIR),$(subst :, ,$(ERL_LIBS))),) +ifeq ($(ERL_LIBS),) + ERL_LIBS = $(DEPS_DIR) +else + ERL_LIBS := $(ERL_LIBS):$(DEPS_DIR) +endif +endif export ERL_LIBS ERLC_OPTS ?= -Werror +debug_info +warn_export_all +warn_export_vars \ |