Revert "Makefiles: compiler option overhaul"

This reverts commit bbd5bf39f1f40c18c747c34d9b11c3fbb2d6f004.