Attached find a small patch that gets pd building on Linux with less fuss. I hope that's cool.
After you apply the patch, do 'ln -s makefile makefile.linux' in the doc/6.externs/makefile pd/doc/6.externs directory.
Not much, but it's a start :)
(jfm3)