1$(shell exit 5)
2
3ifdef KATI
4NAMEWORKAROUND := .SHELLSTATUS
5testTargetWithShellCommand:
6 @echo $(shell exit 7)
7 @echo $($(NAMEWORKAROUND))
8else
9testTargetWithShellCommand:
10 @echo "Makefile:7: Kati does not support using .SHELLSTATUS inside of a rule"
11endif
12
13test: testTargetWithShellCommand
14 @# Suppress the "Nothing to be done for "test"." message
15 @: