<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Folks,</div><div><br></div><div>I am testing a new module file that I added. It is contained in a single 'C' file. Let's call it mydecoder.c.</div><div><br></div><div>I looked at other modules and followed similar steps to update Modules.am:</div><div><br></div><div>SOURCES_xyz = \</div><div>      xyz.c</div><div><br></div><div>libvlc_LTLIBRARIES += \</div><div>     ...</div><div>     libxyz_plugin.la \</div><div>     $(NULL)</div><div><br></div><div>After this, I ran "bootstrap," "configure," and "make."</div><div><br></div><div>Everything builds as expected.</div><div><br></div><div>Now, I renamed my xyz.c file to xyz.cpp and updated Modules.am to use xyz.cpp instead of xyz.c.</div><div><br></div><div>I deleted all the Make* files
 (Makefile, Makefile.in, Makefile.am) and once again ran "bootstrap" and "configure."</div><div><br></div><div>Now, when I try to run "make," the error I get is:</div><div><br></div><div>"No rule to make target xyz.c needed by libxyz_plugin_la-xyz.lo."</div><div><br></div><div>I don't understand what I am doing wrong. Why is it looking for xyz.c instead of xyz.cpp?<br></div><div><br></div><div>I would appreciate it if someone can enlighten me.</div><div><br></div><div>Thank you in advance for your help.</div><div><br></div><div>Regards,</div><div>Peter</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></body></html>