[erlang-questions] Include files location

Kirill Zaborski <>
Mon Jun 25 14:03:22 CEST 2007


I want to use include files in my application. I have seen that a lot
of applications (e.g. OTP) use separate folder "include" for such
files. But in the source code (e.g. in src/somefile.erl) I see
-include("somefile.hrl").
And somefile.hrl is in the mentioned "include" directory. And erlang
compiler says that it can not find somefile.hrl
Do I need to specify some extra options?
In the documentation
(http://www.erlang.org/doc/reference_manual/modules.html) I see
nothing about it.

Regards,
Kirill.



More information about the erlang-questions mailing list