Article View: gnu.gcc.help
Article #41404Re: GNU make and $$@
From: Paul D. Smith
Date: Tue, 26 Mar 1996 00:00
Date: Tue, 26 Mar 1996 00:00
24 lines
1878 bytes
1878 bytes
I should also point out that while on the surface this looks like a
pain, in actuality it's not that bad for a couple of reasons:
1) You can put the rules in a "global makefile" that gets included by
GNU make's "include" feature; this means all you need to put into
the individual makefiles is the values for PUBHDRS, PUBBINS, and
PUBLIBS.
2) In the future you may well want to do something different with the
different types of files; this makes that simple. For example, to
save rebuild time I recently instituted a special version on install
for headers only which doesn't copy them up if they haven't
changed. And you can ranlib libraries, etc.
However, I won't go so far as to say I don't miss the $$@ functionality
at all (although I _really_ dislike the format--using the $$).
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@baynetworks.com> Network Management Development
Senior Software Engineer Bay Networks, Inc.
-----------------------------------------------==<http://www.baynetworks.com/>-
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions--Bay Networks takes no responsibility for them.
Technical Details
Message-ID:
<p5buljy714.fsf@lemming.wellfleet.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4j8gnq$ril@morticia.inmos.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,1e70933fd3d09243 X-Google-Attributes: gid11318c,public From: psmith@lemming.wellfleet.com (Paul D. Smith) Subject: Re: GNU make and $$@ Date: 1996/03/26 Message-ID: <p5buljy714.fsf@lemming.wellfleet.com> X-Deja-AN: 144217509 references: <4j8gnq$ril@morticia.inmos.co.uk> to: psmith@wellfleet.com organization: Bay Networks, Inc. / Billerica, MA reply-to: psmith@wellfleet.com newsgroups: gnu.gcc.help