ifndef OUTPUT OUTPUT="Test" endif build: mkdir tmp/ && echo $(OUTPUT) > 'tmp/output.txt'