Skip to content

Commit

Permalink
Fixed erlc include path when in nested apps
Browse files Browse the repository at this point in the history
  • Loading branch information
srstrong committed Feb 22, 2014
1 parent a0a61ad commit 5684fcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion erl.mk
Expand Up @@ -26,8 +26,9 @@ STRIPPED_DEPENDENCIES:=$(shell mktemp -u /tmp/$(APP).stripped_deps.XXXX)


define compile_erl define compile_erl
$(verbose) echo Compiling... $(verbose) echo Compiling...
echo HELLO $(ERL_LIBS)
$(verbose) sed 's/^/ /' $(ERLS_TO_BUILD) $(verbose) sed 's/^/ /' $(ERLS_TO_BUILD)
$(verbose) erlc -pa ebin/ -o ebin/ $(ERLCFLAGS) -v -Iinclude/ -Ideps/ `cat $(ERLS_TO_BUILD)` $(verbose) erlc -pa ebin/ -o ebin/ $(ERLCFLAGS) -v -Iinclude/ -I$(DEPS_DIR)/ `cat $(ERLS_TO_BUILD)`
endef endef


define build_dependencies define build_dependencies
Expand Down

0 comments on commit 5684fcc

Please sign in to comment.