Hi, [Please retain the CC to [EMAIL PROTECTED] so that the Debian Bug Tracking system can record your input]
This was reported by a debian user manoj Make has an implicit rule for .cpp files, but this is not documented. Observe: ,---- | __> cd /tmp; rm -f Makefile makefile | __> touch foo.cpp | __> make foo.o | g++ -c -o foo.o foo.cpp `---- The following sections of the documentation need to be updated: 10.2 Catalogue of Implicit Rules ================================ [snip] target `.SUFFIXES'). The default suffix list is: `.out', `.a', `.ln', `.o', `.c', `.cc', `.C', `.p', `.f', `.F', `.r', `.y', `.l', `.s', `.S', `.mod', `.sym', `.def', `.h', `.info', `.dvi', `.tex', `.texinfo', `.texi', `.txinfo', `.w', `.ch' `.web', `.sh', `.elc', `.el'. All of [snip] Compiling C++ programs `N.o' is made automatically from `N.cc' or `N.C' with a command of the form `$(CXX) -c $(CPPFLAGS) $(CXXFLAGS)'. We encourage you to use the suffix `.cc' for C++ source files instead of `.C'. -- To keep your friends treat them kindly; to kill them, treat them often. Manoj Srivastava <[EMAIL PROTECTED]> <http://www.golden-gryphon.com/> 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make