Moved dependency generation back to Makefile

This is where we know what machine file is necessary
Try CFLAGS at configure time
Remove unused macro
Fixed shadowing variables
size_t vs. int fixes
Reindent, spaces -> tabs