We recommend using Visual Studio 2017

Inline Files in a Makefile


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 Inline Files in a Makefile.

An inline file contains text you specify in the makefile. Its name can be used in commands as input (for example, a LINK command file), or it can pass commands to the operating system. The file is created on disk when a command that creates the file is run.

Specifying an inline file

Creating inline file text

Reusing inline files

Multiple inline files

Commands in a Makefile