add extern "C" to headers for C++
add auto-generated make dependency files to gitignore