Is this a bug?
Generally, -n option behaves as documented : 'dry-run'; no rules are executed.
However, the following example shows that rule including $(MAKE) -p is executed.


#Makefile
foo:
        @$(MAKE) -p $@ 1>$@

#eof

[EMAIL PROTECTED] junk]$ ls foo
ls: foo: No such file or directory
[EMAIL PROTECTED] junk]$ make -n foo
make -p foo 1>foo
[EMAIL PROTECTED] junk]$ ls foo
foo
[EMAIL PROTECTED] junk]$

- Greg Keraunen
http://www.xmake.org



_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to