Rework Makefile.