ok,
here is a first attempt.
it is just an autoconf/automake setup for the dspobj~.c external that is in doc/6.externs/
http://aug.ment.org/software/dspobj~.tar.gz
first do ./autogen.sh then ./configure
optionally, if you want to do 'make install' after that, configure with opiton: ./configure --bindir=/usr/local/lib/pd/extra
it should be ok for darwin and linux. not sure about other env's.
if you want to use this as a template, put all your sources under './src' and all your headers under './include' the two files you would edit are './src/Makefile.am' and 'configure.ac' the comments should lead you along.
any comments/suggestions? I could use some help with the default CFLAGS for various platforms.
best -august.