Update makefiles and the script that creates them: was generating dependencies that weren't required.