Fix makefile

- Add phony targets properly
- Split program and objects
Merge branch 'devel' of github.com:synergiance/synerbot into threads