NMAKE Fatal Error U1100


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at NMAKE Fatal Error U1100.

macro 'macroname' is illegal in the context of batch rule 'rule'

NMAKE generates this error when the command block of a batch-mode rule directly or indirectly references a special file macro that is not $<.

$< is the only allowed macro for batch-mode rules.