Update Makefile

update from sc-02 kernel (same philosophy)