bug-make
[Top][All Lists]
Advanced

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

make depend


From: Ghosh, Debnath
Subject: make depend
Date: Fri, 15 Feb 2002 11:20:12 -0600

Hi, 

 I am not sure if this is really a bug but would like to get a solution or a
pointer
 in case i am doing something wrong in this:


 i have a make dependency rule like this:

==========================
depend :   $(PRJ_OBJS:%.o=%.d)

%.d: %.c
        $(CC) $(DEPFLAGS) $(CFLAGS) $< \
                | sed "s/\($*\)\.o[ :]*/\1.o $@ : /g" > $@
==========================

when PRJ_OBJS includes a filename such as    mmm_sssss_entry_pt.o 
the make depend gives an error as shown below:
-------------------------------------------------------
sed was unexpected at this time.
make: *** [mmm_sssss_entry_pt.d] Error 0x1
-------------------------------------------------------

But if i change the file name to mmm_sssss_entry_point.o  then it works
fine. In fact it works fine
if the prefix of the filename has string size other than 18.

Thanks in Advance,

Regards,
-Debnath Ghosh   



reply via email to

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