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 [email protected] to be sure your PMR is updated in case I am not available. From: xiangfeng shen <[email protected]> To: [email protected], [email protected] Date: 05/05/2009 11:27 PM Subject: what's the meaning of $& in clearmake Sent by: [email protected] 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 [email protected] http://lists.gnu.org/mailman/listinfo/help-make _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
