more makefile improvements

- fix sdk gneration
- integrate doxygen docs in sdk