www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/19/17:28:47

From: Rossz =?iso-8859-1?Q?V=E1mos=2DWentworth?= <rossw AT jps DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Create response files
Date: Wed, 19 Jan 2000 13:52:49 -0800
Organization: Advent Software, Inc.
Lines: 25
Message-ID: <38863230.811F2A4F@jps.net>
NNTP-Posting-Host: rwentwor.advent.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.5 [en] (Win95; U)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Is there a way for MAKE.EXE to dump a line into a text file so that I
can use it as a response file.  For example, I have this rule (note,
this is not a DJGPP version of LD, if it were, I wouldn't have this
problem):

%.coff: $(KOBJECTS)
 $(LD) $(LDFLAGS) $(KOBJECTS) $(LIBS) -o $*.coff

Which usually exceeds the 127 character limit of DOS.   I'd love to be
able to do this:

%.coff: $(KOBJECTS)
    dump respond $(LDFLAGS) $(KOBJECTS) $(LIBS) -o $*.coff
    $(LD) @response

Where 'dump' is the (nonexistent?) command to write to the specified
file ('response') the remainder of the line (after variable expansion).
Obviously, using 'ECHO blah >response' won't work, nor will any other
external command (that I can think of).

Thanks.

Rossz


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019