NMAKE inline file locations (Windows only)

1 minute read

NMAKE contains a feature to create inline files with temporary file names. For example, the following makefile creates a temporary inline file containing the word “pass” and then uses “type” to output it.

all: type << pass <<

With Microsoft NMAKE, the file is created in the directory where %TMP% points. eMake does not respect the %TMP% setting and creates the inline file in the rule working directory that needs the file.