<div dir="ltr">Hi devs, I'm trying to get pd-lib-builder working, but I think my lack of C building experience has me stuck. I was able to get my empty helloworld working ok, but not managing to link in S7.<div><br></div><div>My project has one C file, and needs to also include s7.h and build s7.c  I've included my (not working) Makefile below. When I try the below s7 does get compiled, producing an s7.o file, but instead of static linking I get an s7.pd_darwin file with all of the S7 stuff (it's big) and a tiny s4pd.pd_darwin file. And the external tries to load an s7 function and fails. Any tips much appreciated!<div><br></div><div>thanks,</div><div>Iain</div><div><br></div><div>My Makefile:</div><div><br></div><div># library name<br><a href="http://lib.name">lib.name</a> = s4pd<br><br># tried these too, to no avail<br>#lib.setup.sources = s7.c<br>#common.source = s7.c<br><br># input source file (class name == source file basename)<br>class.sources = s4pd.c s7.c<br><br># all extra files to be included in binary distribution of the library<br>datafiles = README.md<br><br># include Makefile.pdlibbuilder from submodule directory 'pd-lib-builder'<br>PDLIBBUILDER_DIR=pd-lib-builder/<br>include $(PDLIBBUILDER_DIR)/Makefile.pdlibbuilder<br></div></div></div>