Article View: comp.sources.d
Article #5156Re: Looking for a make version to better support software versions
From: Dieter Woerz
Date: Thu, 04 Jan 1990 15:34
Date: Thu, 04 Jan 1990 15:34
36 lines
2339 bytes
2339 bytes
In article <297@digi.UUCP> kcantrel@digi.UUCP (Keith Cantrell) writes:
>In article <1440@jimi.cs.unlv.edu> jack@jimi.cs.unlv.edu (Jack Alexander) writes:
Jack>
Jack>Hello:
Jack>
Jack>I have a need for a make-type program that will allow recompilations
Jack>to be dependent on the changing of compiler definitions (i.e., "-DVERSIONB")
Jack>The problem is that I have many megabytes of code that have to support
Jack>many, many different versions of basically the same program. Because I
Jack>want to keep the guts of the system the same, whereever a slight
Jack>modification is needed for a particular version, I just make the code
Jack>segment conditional using #ifdef's, #ifndef's, etc. However, when I change
Jack>a compile variable, I don't want to re-compile every file (some directories may
Jack>have 50 source files each), just the ones that actually reference the variable.
Jack>
Jack>Has anybody heard of any such program? Does anybody else need such a program?
Jack>If the need is terrific, I may endeavor to hack it into gnu make. If I do
Jack>this, I would appreciate any recommendations.
Jack>
Jack>-- Jack Alexander
Keith>Yes, go out and buy an Apollo and use DSEE. It keeps up with not only the
Keith>version of source that goes into making an object, but all the command(s), and
Keith>options to the commands, as well.
If you can do this on a Sun, use the normal make coming with it. This make
can keep track of the commands executed to build the targets. So if you
change one of the Flags on one of the commands, make knows, what files to
recompile. If you choose your make macros carefully, you only compile and
link, what is needed to recompile.
Hope this helps.
Dieter Woerz
ISA GmbH, Azenbergstr. 35 D-7000 Stuttgart-1 W-Germany
UUCP: {pyramid!iaoobel,uunet!unido}!isaak!woerz
BITNET/EARN: woerz@ds0iff5
Technical Details
Message-ID:
<2286@isaak.isa.de>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!unido!isaak!leonardo!woerzReferences:
<1440@jimi.cs.unlv.edu> <297@digi.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!unido!isaak!leonardo!woerz From: woerz%leonardo@isaak.uucp (Dieter Woerz) Newsgroups: comp.sources.d Subject: Re: Looking for a make version to better support software versions Message-ID: <2286@isaak.isa.de> Date: 4 Jan 90 15:34:17 GMT References: <1440@jimi.cs.unlv.edu> <297@digi.UUCP> Sender: news@isaak.isa.de Organization: ISA GmbH, Stuttgart, West-Germany Lines: 36