Subject: Re: Make question
From: Steve Kelem <[email-masked]>
To: [email-masked]
Cc: cygwin users <[email-masked]>
Date: Tue, 25 Jan 2000 12:15:40 -0800

You need to include the line

.SUFFIXES: .obj

so that make knows about this new suffix.

Steve

Emmanuel STAPF wrote:

> In my makefile, I have the following statement:
>
> .c.obj:
>         $(CC) $(CFLAGS) -c $<
>
> and I'm using my makefile to generate a `file.obj' from a `file.c' which
> will be using to create a `library.lib' file.
>
> However, make fails with the following output:
> make: *** No rule to make target `file.obj', needed by `library.lib'.  Stop.
>
> Is there something special to do to allow my implicit rule.
>
> Thanks in advance,
> Regards,
> Manu
>
> --
> Want to unsubscribe from this list?
> Send a message to [email-masked]
--
Want to unsubscribe from this list?
Send a message to [email-masked]