[erlang-questions] Re: dividing a project across directories

Tuncer Ayaz tuncer.ayaz@REDACTED
Fri May 7 16:53:25 CEST 2010


On Fri, May 7, 2010 at 4:51 PM, Tuncer Ayaz <tuncer.ayaz@REDACTED> wrote:
> On Fri, May 7, 2010 at 3:08 AM, Steve Davis
> <steven.charles.davis@REDACTED> wrote:
>> The following wildcards will work in Emakefiles:
>>
>> {"src/*", [{i, "include"}, {outdir, "ebin"}, debug_info,
>> strict_record_tests]}.
>> {"src/*/*", [{i, "include"}, {outdir, "ebin"}, debug_info,
>> strict_record_tests]}.
>>
>> I think that's what you're asking for!
>
> It's interesting that "src/*" etc. works in an Emakefile
> executed via 'erl -make' but specifying the same filespec
> fails if you directly call make:files/1,2.

make:files("src/*", Opts)
make:files("src/*/*", Opts)
make:files('src/*', Opts)
make:files('src/*/*', Opts)


More information about the erlang-questions mailing list