--- In [email protected], "Victor A. Wagner Jr." <[EMAIL PROTECTED]> wrote:
>
> Ashwin Mittal wrote:
> > Hi all,
> >
> > Facing some problem while building the project...
> >
> > Here is a part of my makefile
> >
> > CC_TARGET_01 = $(INCS) $(WIN32_FLAG)
> >
> > CFLAGS_TARGET_01 =  -X -I../bfenv/pub -I../include -I../Infra/pub
-D_WIN32
> > CFLAGS = $(WIN32_FLAG)  -DWIN32
> >
> > # Inference rule
> > ..c.obj :
> >     @echo Compiling c source $<
> >     @echo ------------------------------------------
> >     $(CC) $(CC_TARGET_01) $(CFLAGS_TARGET_01) -c $< -o$@
> >
> > abc.obj : c:/path/abc.c
> >     @echo Compiling c source $**
> >     @echo ------------------------------------------
> >     $(CC) $(CC_TARGET_01) $(CFLAGS_TARGET_01) -c $** -o$(LIB_DIR)/$@
> >
> >
> >
> >
> > Now when I am building the project, the inference rule is not
executed while
> > the other rules (like abc.obj) following inference rule gets
executed...
> >
> > I need to know why this is happening.. I am sure I have done some
mistake
> > somewhere..
> >   
> iirc the inference rule should start
> 
> .c.obj:
> 
> what make are you using? you might find the full "pattern" targets more 
> useful in gnumake
> > Please help.
> >
> > Thanks & Regards,
> > Ashwin Mittal
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > To unsubscribe, send a blank message to
<mailto:[EMAIL PROTECTED]>. 
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>



Sorry done some mistake...

it is .c.obj:

Still its not working for me....


Thanks & Regards,
Ashwin Mittal

Reply via email to