core: update Makefile