1$(shell mkdir -p tmp) 2file = $(shell echo tmp/test\#.ext) 3 4all: test1 5 6test1: $(file) 7 echo PASS 8 9$(file): 10 touch $(file) 11