help-make
[Top][All Lists]
Advanced

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

gmake 3.79 on SunOS


From: Inna Gauskin
Subject: gmake 3.79 on SunOS
Date: Sun, 4 May 2003 10:30:59 +0300

Hi,

My problem is the following :

We have a two-level rule for creation of objects from the .c files

%.o : %.c
        @echo "USER  $(RM_OLD_OBJECT) ;$(subst ",\", $(CC_CMD)) $*.c Compiling 
c"   >>$(CCWPA)/$(CCBB)/deb_files

$(CCMPA)/$(CCBB)/%.o : %.c
      @echo "MASTER  $(subst ",\", $(CC_CMD)) $*.c Compiling c"   
>>$(CCWPA)/$(CCBB)/deb_files

Where in the second rule it's supposed to look for the .o in the path of the 
master ($(CCMPA)/$(CCBB)). 

In most cases (HP , 3.77 version of gmake) , the object is built according to 
the first rule if it (the object) doesn't exist in the local path, regardless 
of the second rule.

The problem is on Sun 3.79 gmake version. In these cases, if the local object 
doesn't exist, but the object of the master (the second rule) is newer than the 
local source, nothing is being built. If the master object is older than the 
local source, the local object is created.

Thanks in advance.
Regards,
Inna Gauskin
DOT-CMS team
email address@hidden
09-7765072
-------------------------------------------------------------------------------------

The information contained in this message is proprietary of Amdocs,

protected from disclosure, and may be privileged.

The information is intended to be conveyed only to the designated recipient(s)

of the message. If the reader of this message is not the intended recipient,

you are hereby notified that any dissemination, use, distribution or copying of 

this communication is strictly prohibited and may be unlawful. 

If you have received this communication in error, please notify us immediately

by replying to the message and deleting it from your computer.

Thank you.


-------------------------------------------------------------------------------------

reply via email to

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