aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-07-12 19:52:00 +0200
committerLoïc Hoguin <[email protected]>2013-07-12 19:52:00 +0200
commitc98921b0fb75a16bbb08446f571c88b93ac2ba1a (patch)
treecf08adcb31f1ab390d542f4564e9494f6f25230c
parent90cba7b8c57dd87e222dfec64e0120fbb27d29a3 (diff)
parentb32b9c3c44c31fa98d9ba2d32f77dd9960e1f7cc (diff)
downloaderlang.mk-c98921b0fb75a16bbb08446f571c88b93ac2ba1a.tar.gz
erlang.mk-c98921b0fb75a16bbb08446f571c88b93ac2ba1a.tar.bz2
erlang.mk-c98921b0fb75a16bbb08446f571c88b93ac2ba1a.zip
Merge branch 'fix-recursive-erlc-call' of git://github.com/jlouis/erlang.mk
-rw-r--r--erlang.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/erlang.mk b/erlang.mk
index 3ddcf21..ad17c60 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -65,8 +65,8 @@ app: ebin/$(PROJECT).app
> ebin/$(PROJECT).app
define compile_erl
- $(erlc_verbose) ERL_LIBS=deps erlc -v $(ERLC_OPTS) -o ebin/ -pa ebin/ \
- -I include/ $(COMPILE_FIRST_PATHS) $(1)
+ $(erlc_verbose) ERL_LIBS=$(DEPS_DIR) erlc -v $(ERLC_OPTS) -o ebin/ \
+ -pa ebin/ -I include/ $(COMPILE_FIRST_PATHS) $(1)
endef
define compile_xyrl