xref: /freebsd/usr.bin/bmake/tests/shell/meta/Makefile.test (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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