Mypal/build/pymake/tests/shellfunc.mk
2019-03-11 13:26:37 +03:00

8 lines
146 B
Makefile

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