help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem in suffix of target


From: djupadhyay
Subject: Problem in suffix of target
Date: Tue, 16 Jun 2009 03:48:32 -0700 (PDT)

CG_TOOLS=C:\CCStudio_v3.3\C6000\cgtools
CG_TOOLS_INCLUDE=$(CG_TOOLS)\include
CG_TOOLS_BIN=$(CG_TOOLS)\bin

LIB_BASE_PATH="..\..\..\lib"
LIB_INCLUDE_PATH= -i inc -i $(CG_TOOLS_INCLUDE)


CC=$(CG_TOOLS_BIN)\cl6x
AR=$(CG_TOOLS_BIN)\ar6x

SRC=src\avcdbits.c \
src\avcdcabc.c  \
src\avcdcnfg.c  \
src\avcdcvlc.c  \
src\avcddblf.c  \
src\avcddpb.c   \
src\avcddtl.c   \
src\avcderrc.c  \
src\avcdexp.c   \
src\avcdfal.c   \
src\avcdifce.c  \
src\avcdmain.c  \
src\avcdmb.c    \
src\avcdnal.c   \
src\avcdparm.c  \
src\avcdslc.c   \
src\avcdblk.c \
src\TEL_Malloc.c

CFLAGS=
LINK=
INCLUDE=$(LIB_INCLUDE_PATH)
LIB=AVCDLib.lib
RM=del
AR_OPT=-r
COMPILE_OPTION=-o3
OBJS=$(SRC:.c=.obj)
MAPS=$(SRC:.c=.map)
PROCESSOR_OPT=-mv6400
OBJ_PATH=env\Release\
FILE_OPT=-fr "D:\users\Common\AVCD_PR13_main_profile\lib\env\Release\"

#all:${OBJS}
all:${OBJS}
        ${AR} ${AR_OPT} ${LIB} ${OBJS}

./env/Relase/%.obj:%.c
        ${CC} ${COMPILE_OPTION} ${INCLUDE} ${CFLAGS} ${PROCESSOR_OPT} $<
clean:
        - ${RM} ${EXE}
        - ${RM} ${OBJS}
        - ${RM} ${MAPS}

rebuild: clean all


One error is coming that src/filename.obj not found.
I am not able to build it.
-- 
View this message in context: 
http://www.nabble.com/Problem-in-suffix-of-target-tp24051845p24051845.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]