SDKBld.Mak 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. #
  2. # Copyright 1997 - 1999 Microsoft Corporation. All rights reserved.
  3. #
  4. # Include SdkBld.Mak to build each of the entries in a list.
  5. # The steps are to change dir into the directory,
  6. # echo the current location, run nmake recursively,
  7. # and change dir back to the original directory level.
  8. #
  9. # MAKEFLAGS is an NMAKE macro that has the NMAKE options.
  10. #
  11. # makeopts has the command line, see sdkpropbldk.mak to change the standard options
  12. #
  13. # The SDKPROJ macro (above) is defined solely for the purpose of echoing
  14. # the current directory location to the screen. It is defined recursively
  15. # by appending the current directory name onto the end of the existing
  16. # string.
  17. #
  18. # Note, there must not be a space between the last comment and the
  19. # "@IF EXIST $(@D)\makefile <<nmaketmp.bat" line below.
  20. #
  21. @IF EXIST $(@D)\makefile <<nmaketmp.bat
  22. @cd $(@D)
  23. @if NOT "%CD%"== "" echo *** %CD% *** $(MAKE) -nologo $(makeopts) /$(MAKEFLAGS)
  24. @if "%CD%" == "" echo *** $(SDKPROJ)\$(@D) *** $(MAKE) -nologo $(makeopts) /$(MAKEFLAGS)
  25. @$(MAKE) -nologo /$(MAKEFLAGS) $(makeopts)
  26. @cd ..
  27. <<
  28. #
  29. # End SdkBld.Mak
  30. #