michael@0: all: testfile michael@0: test "$(shell cat $<)" = "Hello world" michael@0: test "$(shell printf "\n")" = "" michael@0: @echo TEST-PASS michael@0: michael@0: testfile: michael@0: printf "Hello\nworld\n" > $@