At 04:40 PM 6/23/2003 -0400, Paul D. Smith wrote:
     The `-n', `-t', and `-q' options do not affect command lines that
  begin with `+' characters or contain the strings `$(MAKE)' or
  `${MAKE}'.  Note that only the line containing the `+' character or the

So, to make sure rules NEVER get executed with -n, the solution is: remove $(MAKE) from the rule


#Makefile
define cmd
$(MAKE) -p $(1)
endef
foo:
        @$(call cmd,$@) 1>$@

#eof

Thanks,

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



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

Reply via email to