[PD] Makefile template questions

Bektur ph318 at yandex.ru
Wed Aug 6 21:26:34 CEST 2014


Hello everyone,

I’m trying to rebuild bonjour-supporting objects like simplebonjour (source code) and oscbonjour (source code), so I started with updating a makefile to the latest template. However, I ran into a couple problems which I’m not quite sure how to solve, for instance:

– 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. 

– 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.

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.

My apologies in advance if I haven’t read the manual properly, but I’d be happy to hear any advice!

Best regards,
Bektur





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140807/39ea528b/attachment.html>


More information about the Pd-list mailing list