[Magic-HD] build via Makefile.