[erlang-questions] "dynamic" include?

Roberto Saccon rsaccon@REDACTED
Fri Oct 26 04:05:33 CEST 2007

No, I was simply thinking about a shell script finding out whether for
example yaws is locally or globally installed. Me and many others had
this problem in the early days of erlyweb.

On 10/25/07, YC <yinso.chen@REDACTED> wrote:
> Hi Roberto -
> On 10/25/07, Roberto Saccon <rsaccon@REDACTED> wrote:
> > > You could also programmatically set your include directories in the
> > > Makefile or use an Escript to compile, then you don't have to hardcode
> > > those paths in your src files.
> Are you talking about passing code_path into erl when writing Makefile?
> It's not clear how that would enable the hrl to be dynamically set.  Do you
> have any examples?
>  Thanks,
> yc

Roberto Saccon

More information about the erlang-questions mailing list