🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #72098

Help needed with GNU-Make

#72098
From: Brett Bergquist
Date: Thu, 26 Mar 1992 14:13
19 lines
1441 bytes
I have a problem that I cannot solve with SunOS make, and I am
wondering if its possible to solve with GNU make.

Heres the scenario.  I have a library that will contains may > 200
object modules.  This library is fairly large in disk size also.  When
running make to build the library, the archiving of the object module
gets progressively longer and longer, near the half way point, its
taking > 1 minute to archive.

What I would like to do is to change the way the library is built, by
compiling all of the object modules necessary, and then performing one
"ar" to archive all of the build object module into the library.

Is it possible to do this with GNU make?  As an aside, I also probably
will want to compile the object modules into a subdirectory, and have
the "ar" pickup the object modules from there.  I do this in order to
support variants of the library (debug, profiled, optimized, etc.)

Any ideas?
Technical Details
Message-ID: <279@esun_server40.gdc.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!ispd-newsserver!psinntp!gdc!wimpy!bergquis

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,833fd16606160d80,start
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1992-03-26 06:13:38 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!ispd-newsserver!psinntp!gdc!wimpy!bergquis
From: bergquis@wimpy (Brett Bergquist)
Newsgroups: gnu.misc.discuss
Subject: Help needed with GNU-Make
Message-ID: <279@esun_server40.gdc.com>
Date: 26 Mar 92 14:13:38 GMT
Sender: news@gdc.com
Lines: 20
Nntp-Posting-Host: wimpy