If I'm not mistaken, each line in the Makefile is a separate shell process. Thus, shell-export does not work for several processes: one way to do this is to put them on one line:
test: @ echo @ echo "Testing Electric Fence." @ echo "After the last test, it should print that the test has PASSED." ./eftest ./tstheap 3072 EF_ERRTRACK_START=3 EF_ERRTRACK_END=5 ./time-interval-measurement-test @ echo @ echo "Electric Fence confidence test PASSED." @ echo
or line break using '\'
test: [..] EF_ERRTRACK_START=3 \ EF_ERRTRACK_END=5 \ ./time-interval-measurement-test
Similar to ENV variables available for. / Time-interval-measrument
source share