[comp.windows.ms.programmer] Multi-line Dependency in NMAKE

kam@iti.org (Keith A. McNabb) (06/22/91)

This isn't specifically a Windows question, but since many of us
developing in Windows are also becoming familiar with the NMAKE
utility, here goes:

How in the heck do you specify dependencies to a target when the
dependencies will take up more that one line?  The old MAKE allowed the
continuation character (backslash) for dependencies as well as for
command lines, but NMAKE does not.  I've tried putting the name of a
link file after the target, but then NMAKE only checks the date of that
file, not its contents.  If I put an "at" sign in front of the file
name, NMAKE thinks that character is part of the file name.  (LINK
knows that the "at" sign says to look inside the file.)

I've tried the plus sign, using lines longer than 80 characters, and
groups of macros.  No dice.

Again, thanks for the kind feedback from the net.

Keith McNabb
kam@iti.org