%% "Sudhir Sharma" <[EMAIL PROTECTED]> writes:
ss> I am writing a makefile for a documentation project. I want make
ss> to search the current directory for the target with a certain
ss> suffix *.suffix and apply the suffix rules. When I invoke make,
ss> make responds with "No rule to make target *.suffix. I have
ss> attached the makefile for your perusal.
I don't see anything in your makefile that looks like a suffix rule, nor
any references to any targets that look like they might need a suffix
rule to be built. This is a standard makefile that builds an executable
from a number of .c files.
Note that "*.suffix" is not a legal suffix; make doesn't use shell
wildcards like "*" in its syntax; I can't tell from your message whether
you are actually trying to write "*.suffix" or whether you're just using
"*" as a meta-character.
The GNU make manual section on suffix rules gives a pretty cogent
explanation of their syntax and use.
Please read the GNU make manual section on reporting bugs, and try to
provide complete information.
HTH.
--
-------------------------------------------------------------------------------
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