[erlang-questions] Sharing code between modules with emacs

Mazen <>
Fri Feb 16 12:31:38 CET 2007

Guest wrote:

A second question : how can I make the emacs shell to compile the files in the ebin directory instead of the src one ?
And have it looking for the .hrl in the include directory ?

(end of quote)

Assuming you follow Adams advise and create your Emakefile you can, when in Emacs (and is in the right working directory) use M-x and type in compile, enter, then erl -make and enter. This should compile the files and put them in whatever directory you specified.
Post sent from http://www.trapexit.org

More information about the erlang-questions mailing list