convert to base.mk