made compilation script handle object files

- does check file modification times to avoid recompiling old code
- "now on par with a makefile!"