tenfourfox/build/pymake/tests/shellfunc.mk
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07: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" > $@