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





_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to