- Use GZIP_CMD instead of GZIP so that GZIP is exported to the env of ar sub-make and then to gzip itself. - Define EOF if needed.