MSC 5.1 make

David Brown dave at motto.UUCP
Wed Dec 20 06:53:27 AEST 1989


My biggest problem is not with Microsoft's make, per se, but with the
command line limits on utilities such as the linker.  What I would
like to do is something like

	OBJS = file1.obj \
	       file2.obj \
		 ...
	       file200.obj

		...

	prog.exe: $(OBJS)
		link $(OBJS), prog, ...

However, even if I get around the 512 byte limit in macros by having
multiple macros (OBJ1, OBJ2, ...), link won't accept so long a command
line.  I'm forced to keep a separate response file for the link, which
means maintaining another list of all the object names.

I tried the PDMAKE that was posted here recently.   It solves the macro
limit problem, but I'm still stuck with the link command line limit.

What do the rest of you do if you have a lot of object files to make?

 -----------------------------------------------------------------------------
|  David C. Brown	    |  uunet!mnetor!motto!dave			      |
|  Motorola Canada, Ltd.    |  416-499-1441 ext 3708			      |
|  Communications Division  |  Disclaimer: Motorola is a very big company     |
 -----------------------------------------------------------------------------



More information about the Comp.lang.c mailing list