1# $Id: unexport-env.mk,v 1.1.1.2 2020/07/28 16:57:18 sjg Exp $ 2 3# pick up a bunch of exported vars 4FILTER_CMD= grep ^UT_ 5.include "export.mk" 6 7# an example of setting up a minimal environment. 8PATH = /bin:/usr/bin:/sbin:/usr/sbin 9 10# now clobber the environment to just PATH and UT_TEST 11UT_TEST = unexport-env 12 13# this removes everything 14.unexport-env 15.export PATH UT_TEST 16