Greetings,<br><br>I need some advice for how to modify the Pd Makefile for when I need to compile more than one code file into an external, yet do not wish to create a separate library. Say I have a main file for the external, "tightdsp~.c" another file containing support functions, "
dsphelper1.c" and a third file with even more functions, "dsphelper2.c". How would I modify the following Makefile so that it would compile the code together, just as if I had copied the contents of the two helper files into the main code file?
<br><br>TIA,<br>Eric<br>===<br><br>NAME=tightdsp~<br>CSYM=tightdsp_tilde<br><br>current: pd_darwin<br><br># ----------------------- Mac OSX -----------------------<br><br>pd_darwin: $(NAME).pd_darwin<br><br>.SUFFIXES: .pd_darwin
<br><br>DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \<br> -Wno-unused -Wno-parentheses -Wno-switch<br><br>.c.pd_darwin:<br> cc $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c<br> cc -bundle -undefined suppress -flat_namespace -o $*.pd_darwin $*.o
<br> rm -f $*.o ../$*.pd_darwin<br> cp $*.pd_darwin $(DEST)<br># ----------------------------------------------------------<br>