I had checked the doc of erlang-mode.
it's seem that C-c C-k, (erlang-compile) - Compiles the Erlang module in the current buffer.
just compile one file of current buffer. I wanna compile a project with rebar commond on emacs. eg. ./rebar compile
and it can display result like execute "erl -sname -pa ebin -pa deps/*/ebin".
how to do this on emacs?