[PD] how to build multiple objects from one file

Dan Wilcox danomatika at gmail.com
Fri May 12 23:50:10 CEST 2017


Maybe this is something for pd-lib-builder? https://github.com/pure-data/pd-lib-builder <https://github.com/pure-data/pd-lib-builder>

> On May 12, 2017, at 6:38 AM, pd-list-request at lists.iem.at wrote:
> 
> From: David Medine <dmedine at ucsd.edu <mailto:dmedine at ucsd.edu>>
> Subject: [PD] how to build multiple objects from one file
> Date: May 12, 2017 at 6:37:25 AM MDT
> To: pd-list at lists.iem.at <mailto:pd-list at lists.iem.at>
> 
> 
> I am building a small suite of related externals and it would be most convenient to simply compile one .obj file and pull the externs off of it one at a time. My makefile is the standard Pd makefile, but I leave the CSYM and current fields empty so I can declare them with my call to make:
> 
> >> make CSYM=lsl_inlet current=pd_nt
> 
> It builds just fine, but when I open the help patch, the extern doesn't load. If, I rename the file and arrange things so that the filename is the same as the extern name (i.e. there is only one extern per .obj) and recompile it works just fine. The important point is that I don't change the code or the body of the makefile at all (except for the NAME field).
> 
> I know that Miller does this it this way all the time, e.g. d_arithmetic.c. Any suggestions?
> 
> Below is my makefile, in case that helps.
> 
> Cheers,
> 
> David

--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170512/71507f50/attachment.html>


More information about the Pd-list mailing list