[erlang-questions] Does Emakefile support ASN.1 files?

Bertil Karlsson bertil.karlsson@REDACTED
Fri Feb 13 09:40:55 CET 2009


What if you change the entry to for instance:
{"SSWConn", [{outdir, "."},ber_bin]}.

/Bertil

Maxim Treskin wrote:
>
>
> 2009/2/13 Bengt Kleberg <bengt.kleberg@REDACTED 
> <mailto:bengt.kleberg@REDACTED>>
>
>     Greetings,
>
>     Can you change the Emakefile to have your target first in the tuple?
>
>     I have not worked with ASN1, but from what I know of Emakefiles the
>     first entry in the tuple should be the target (module). According
>     to the
>     compile documentation ASN1 files are the source for targets, not
>     targets.
>
>
> Now my Emakefile is:
>
> {"SSWConn", [{outdir, "."}]}.
>
> There is SSWConn.asn file in directory. "erl -make" prints:
>
> $ erl -make
> Recompile: SSWConn
> ./SSWConn.erl:none: no such file or directory
>
>
> BTW, for .erl files my Emakefile is:
> {"src/*", [debug_info, {i, "../asn"}, {warn_format, 1}, {outdir, 
> "ebin"}]}.
>
> and all works fine.
>
>
> -- 
> Maxim Treskin
> ------------------------------------------------------------------------
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list