fix example 3 makefile to use output vars