Subject: [PD] how to build multiple objects from one file
Date: May 12, 2017 at 6:37:25 AM MDT
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_ntIt 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