summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/shellfunc.mk
blob: 1e408dbaca91ec283246f80e7a8453a30a0b2e8b (plain)
1
2
3
4
5
6
7
all: testfile
	test "$(shell cat $<)" = "Hello world"
	test "$(shell printf "\n")" = ""
	@echo TEST-PASS

testfile:
	printf "Hello\nworld\n" > $@