<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello everyone,<div><br></div><div>I’m trying to rebuild bonjour-supporting objects like simplebonjour (<a href="https://github.com/Apolotary/simplebonjour">source code</a>) and oscbonjour (<a href="https://github.com/Apolotary/oscbonjour">source code</a>), so I started with updating a makefile to the <a href="http://puredata.info/docs/developer/MakefileTemplate">latest template</a>. However, I ran into a couple problems which I’m not quite sure how to solve, for instance:</div><div><br></div><div>– How do I compile a C++ source with a makefile template? When I try to run make (on OSX 10.9.4), it says "make: Nothing to be done for `all’.” It works if I change extension to .c (but obviously doesn’t build), so it looks like it just ignores the .cpp file. </div><div><br></div><div>– What is the right way to point to extra libraries? For instance, when building with MinGW/cygwin on Windows, I tried to add a path to Bonjour SDK in EXTRA_DIST variable, but compiler just ignored this path.</div><div><br></div><div>Also, it’s unrelated to makefile issues, but what’s the role of printf() function in source code? I’m getting some odd Tcl errors caused by it, so I was wondering if it’s just used for debugging, or something else.</div><div><br></div><div>My apologies in advance if I haven’t read the manual properly, but I’d be happy to hear any advice!</div><div><br></div><div>Best regards,</div><div>Bektur</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></body></html>