xref: /freebsd/usr.bin/bmake/tests/shell/meta/Makefile.test (revision 02e9120893770924227138ba49df1edb3896112a)
1#
2# In compat mode (the default without -j) a line that contains no shell
3# meta characters and no shell builtins is not passed to the shell but
4# executed directly. In our example the ls line without meta characters
5# will really execute ls, while the line with meta characters will execute
6# our special shell.
7#
8
9.SHELL: path="${.OBJDIR}/sh"
10
11.PHONY: meta no-meta
12
13meta:
14	@ls *
15
16no-meta:
17	@ls -d .
18