Makefile support for min/gz