Hello,<br><br>I would like to compile some erlang files that contains a macro. The Emakefile has the following contents:<br><br><i>{"/home/dnonnenm/PROJECTS/lib/my_appli/src/*",<br> [{i,"/home/dnonnenm/PROJECTS/lib/"},<br>
  {d,"MY_MACRO", "ITS_VALUE"},<br>  {outdir,"/home/dnonnenm/PROJECTS/lib/my_appli/ebin"}]}.<br></i><br>The problem is that there is no generated beam. The output command (ie erl -make) is the following:<br>
<br><i>Recompile: /home/dnonnenm/PROJECTS/lib/my_appli/src/module_1<br>Recompile: </i><i>/home/dnonnenm/PROJECTS/lib/my_appli/src/module_2<br>Recompile: </i><i>/home/dnonnenm/PROJECTS/lib/my_appli/src/module_3</i><br><br>
There are no errors, no warnings.<br><br>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.<br><br>Is this a bug ? or did i write something bad ?<br>
<br>David<br>