diff options
author | Loïc Hoguin <[email protected]> | 2013-05-01 11:54:15 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-05-01 11:54:15 +0200 |
commit | ff7f47fe8ccee222d0a53db082431eda3eb94901 (patch) | |
tree | a0fff06371ccd8b0ecf0ed47fb8a208ac8ff5e93 /erlang.mk | |
parent | ba27f059fb88fea41df52adafac670970a963c9e (diff) | |
download | erlang.mk-ff7f47fe8ccee222d0a53db082431eda3eb94901.tar.gz erlang.mk-ff7f47fe8ccee222d0a53db082431eda3eb94901.tar.bz2 erlang.mk-ff7f47fe8ccee222d0a53db082431eda3eb94901.zip |
Add deps to ERL_LIBS when compiling
This allows erlc to find behaviours defined by other applications.
Diffstat (limited to 'erlang.mk')
-rw-r--r-- | erlang.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ app: ebin/$(PROJECT).app ebin/$(PROJECT).app: src/*.erl @mkdir -p ebin/ - $(erlc_verbose) erlc -v $(ERLC_OPTS) -o ebin/ -pa ebin/ \ + $(erlc_verbose) ERL_LIBS=deps erlc -v $(ERLC_OPTS) -o ebin/ -pa ebin/ \ $(COMPILE_FIRST_PATHS) $? clean: |