csrc Makefile: clean up all generated files.
lib/externals: remove multiple declarations of extern functions

closes issue #72