add usage of custom tags, refine Makefile