pjs/build/pymake/tests/shellfunc.mk

8 строки
146 B
Makefile

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