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..

Please help.

Thanks & Regards,
Ashwin Mittal


[Non-text portions of this message have been removed]

Reply via email to