%% Nicholas Charles Leippe <[EMAIL PROTECTED]> writes:

  >> You can turn off implicit rules by running GNU make with the -r
  >> flag...for example:
  >> 
  >> $ make -r all

  ncl> A good suggestion.  I tried this.  Apparently, it seems to not
  ncl> only disable the built-in implicit rules, but also the implicit
  ncl> rules defined in the Makefile itself via a pattern rule

That's not true.

I added a "%.o: %.cpp ; cp $< $@" implicit rule to the sample makefile I
sent in my previous message, then ran it with the -r flag, and it worked
perfectly.

There must have been some other difference in your makefile.

As these things all work for me, there must be something about your
makefile or environment that is not described in your email, that's
causing the problem.

A sample makefile such as I sent in my previous message that
demonstrates the behavior you're seeing is the only way for me to
explain it to you...

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

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

Reply via email to