Article View: comp.os.msdos.programmer
Article #1293Re: BCC 2.0: What is the right way to use make & tlink?
From: George Jetson
Date: Sat, 05 Sep 1992 01:26
Date: Sat, 05 Sep 1992 01:26
34 lines
1882 bytes
1882 bytes
In article <1992Sep4.224643.3520@rei.com> fox@rei.com (Fuzzy Fox) writes: >levin@world.std.com (Levin F Magruder) writes: > >>With the make & tlink that come with BCC 2.0, how do you set >>things up so that you only need to maintain a single list of >>object files? > >>I defined a macro in make like: >>OBJECTS=a.obj b.obj .... > >>prog.exe: $(OBJECTS) >> tlink \bc\t0s.obj $(OBJECTS), progname, , ... > >>worked until the command line overflowed. > >A work-around: Create a library and have each source file inserts its >object file into the library as part of its build action. Have the exe >file depend on the object files, but have it link from the library. >Don't let the library get out of sync with the objects. Ewww... Better idea: Get NDMAKE. It will automatically build response files in this kind of situation. ************************************************************************ A note to new readers: the weasely :-) symbol is frowned upon in this group. Any questions, see Phil Gustafson who will gladly rearrange your diodes for you. - From the AFU FAQ - - pynq@quads.uchicago.edu, who is still costing the net hundreds, if not thousands, of dollars, every time he posts - ************************************************************************
Technical Details
Message-ID:
<1992Sep5.012643.27171@midway.uchicago.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!convex!news.oc.com!spssig.spss.com!uchinews!quads!pynqReferences:
<Bu15L0.J1z@world.std.com> <1992Sep4.224643.3520@rei.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!convex!news.oc.com!spssig.spss.com!uchinews!quads!pynq From: pynq@quads.uchicago.edu (George Jetson) Subject: Re: BCC 2.0: What is the right way to use make & tlink? Message-ID: <1992Sep5.012643.27171@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Reply-To: pynq@midway.uchicago.edu Organization: D. J. Dougherty & Associates References: <Bu15L0.J1z@world.std.com> <1992Sep4.224643.3520@rei.com> Date: Sat, 5 Sep 1992 01:26:43 GMT Lines: 34