Clean all the source files.

Convert all tabs to spaces.
Add newlines at the end of files if not present.
Remove trailing whitespace.