help-make
[Top][All Lists]
Advanced

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

Re: what's the meaning of $& in clearmake


From: Brian R Cowan
Subject: Re: what's the meaning of $& in clearmake
Date: Wed, 6 May 2009 10:37:13 -0400

Why are you asking this question in the GNU make list? Rather the wrong 
place for this question.

I've checked the ClearCase man pages for makefile_gnu and makefile_ccase 
and come up blank. I've also checked the gnu make docs, and nothing 
references this construct anywhere. Judging by it's position, it either 
becomes a second colon under certain conditions or it's supposed to map to 
another filename. 

So, does the makefile have multiple lines that start (exactly) 
"$(ARBORBIN)/$(MODULE):$&"?
What do you see for the targets in question if you run clearmake -d or 
clearmake -dp and watch the output?

Since you're asking this question, it is a given that this is an 
"inherited" makefile. So, it may have bene around for a while... So, this 
could be a leftover artifact from a much older make, and since it appears 
in my quick check to become an empty string, it was probably left in 
because it *appeared* harmless. You should be able to verify this by 
either looking at the make output (to determine what it is) or removing 
all the "$&"'s from the makefile and seeing what breaks. (for this latter 
option, I would recommend using a fresh view to make sure you build using 
a clean slate.
=================================================================
Brian Cowan
Advisory Software Engineer
ClearCase Customer Advocacy Group (CAG)
Rational Software
IBM Software Group
81 Hartwell Ave
Lexington, MA
 
Phone: 1.781.372.3580
Web: http://www.ibm.com/software/rational/support/
 

Please be sure to update your PMR using ESR at 
http://www-306.ibm.com/software/support/probsub.html or cc all 
correspondence to address@hidden to be sure your PMR is updated in 
case I am not available.



From:
xiangfeng shen <address@hidden>
To:
address@hidden, address@hidden
Date:
05/05/2009 11:27 PM
Subject:
what's the meaning of $& in clearmake
Sent by:
address@hidden



Hi,
 
I encounter the $& in my clearmake, such as:
$(ARBORBIN)/$(MODULE):$& $(OBJECTS) makefile $(DBPROCS) $(SCRIPTS)
    $(RM) $@
    .......
 
Who knows the meaning of $& in clearmake?
 
thanks.
carl shen_______________________________________________
Help-make mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-make






reply via email to

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