🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1273

BCC 2.0: What is the right way to use make & tlink?

#1273
From: Levin F Magruder
Date: Fri, 04 Sep 1992 01:31
26 lines
1165 bytes
Yes, I have the manual and I've read the manual, but I can't
figure out:

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 ....

and the line

prog.exe: $(OBJECTS)
    tlink \bc\t0s.obj $(OBJECTS), progname, , ...

worked until the command line overflowed.  So, I had to make a
response file for tlink.  And now I have to remember to update
both lists as I add modules.

There must be some feature I am missing?

If I'm *not* missing someone, someone here could probably write
a program in about 20 minutes that reads a list of file names
and spits out two files, an inclusion file for make and a response
file for tlink.  Or tell me some other intelligent way to do
this?
Technical Details
Message-ID: <Bu15L0.J1z@world.std.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!world!levin

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!world!levin
From: levin@world.std.com (Levin F Magruder)
Subject: BCC 2.0: What is the right way to use make & tlink?
Message-ID: <Bu15L0.J1z@world.std.com>
Organization: The World Public Access UNIX, Brookline, MA
Date: Fri, 4 Sep 1992 01:31:48 GMT
Lines: 26