sdk: add Makefile and Makefile.rpath