🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.d
Article #5108

Looking for a make version to better support software versions

#5108
From: Jack Alexander
Date: Thu, 28 Dec 1989 18:33
18 lines
1401 bytes
Hello:

I have a need for a make-type program that will allow recompilations
to be dependent on the changing of compiler definitions (i.e., "-DVERSIONB")
The problem is that I have many megabytes of code that have to support
many, many different versions of basically the same program.  Because I
want to keep the guts of the system the same, whereever a slight
modification is needed for a particular version, I just make the code
segment conditional using #ifdef's, #ifndef's, etc.  However, when I change
a compile variable, I don't want to re-compile every file (some directories may
have 50 source files each), just the ones that actually reference the variable.

Has anybody heard of any such program?  Does anybody else need such a program?
If the need is terrific, I may endeavor to hack it into gnu make.  If I do
this, I would appreciate any recommendations.

-- Jack Alexander
Technical Details
Message-ID: <1440@jimi.cs.unlv.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!snorkelwacker!spdcc!mirror!otto!jimi!stevie!jack

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!snorkelwacker!spdcc!mirror!otto!jimi!stevie!jack
From: jack@stevie.cs.unlv.edu (Jack Alexander)
Newsgroups: comp.sources.d,alt.sources.d
Subject: Looking for a make version to better support software versions
Message-ID: <1440@jimi.cs.unlv.edu>
Date: 28 Dec 89 18:33:12 GMT
Sender: news@jimi.cs.unlv.edu
Reply-To: jack@jimi.cs.unlv.edu (Jack Alexander)
Organization: UNLV Computer Science and Electrical Engineering
Lines: 18