Search code examples
makefilenmake

nmake: Is there a built-in macro for current working directory?


I need the current working directory from nmake for the directory it is currently building in to be used in a makefile. Is there some kind of built-in macro for this?


Solution

  • According to the docs,

    MAKEDIR     Current directory when Nmake.exe was invoked. 
    

    may be what you want.