1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# -@- Mode: Makefile -@- unexport VAR1 all: env test "$(VAR1)" = "val1" test "$(origin VAR1)" = "environment" test "$(VAR2)" = "" # VAR2 test "$(VAR3)" = "val3" test "$(ENVVAR)" = "" $(MAKE) -f $(TESTPATH)/unexport.submk subt subt: test "$(VAR1)" = ""