michael@0: # -@- Mode: Makefile -@- michael@0: michael@0: unexport VAR1 michael@0: michael@0: all: michael@0: env michael@0: test "$(VAR1)" = "val1" michael@0: test "$(origin VAR1)" = "environment" michael@0: test "$(VAR2)" = "" # VAR2 michael@0: test "$(VAR3)" = "val3" michael@0: test "$(ENVVAR)" = "" michael@0: $(MAKE) -f $(TESTPATH)/unexport.submk subt michael@0: michael@0: subt: michael@0: test "$(VAR1)" = ""