[erlang-questions] Emakefile and macro
David Nonnenmacher
dnonnenm@REDACTED
Tue Feb 3 19:24:51 CET 2009
Hello,
I would like to compile some erlang files that contains a macro. The
Emakefile has the following contents:
*{"/home/dnonnenm/PROJECTS/lib/my_appli/src/*",
[{i,"/home/dnonnenm/PROJECTS/lib/"},
{d,"MY_MACRO", "ITS_VALUE"},
{outdir,"/home/dnonnenm/PROJECTS/lib/my_appli/ebin"}]}.
*
The problem is that there is no generated beam. The output command (ie erl
-make) is the following:
*Recompile: /home/dnonnenm/PROJECTS/lib/my_appli/src/module_1
Recompile: **/home/dnonnenm/PROJECTS/lib/my_appli/src/module_2
Recompile: **/home/dnonnenm/PROJECTS/lib/my_appli/src/module_3*
There are no errors, no warnings.
I did the same but removing the macro definition (ie {d, ....}), and there
are some beam generated. But I have an error dur to the missing macro.
Is this a bug ? or did i write something bad ?
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090203/45dc7b53/attachment.htm>
More information about the erlang-questions
mailing list