home *** CD-ROM | disk | FTP | other *** search
/ NEXT Generation 27 / NEXT27.iso / pc / demos / emperor / dx3.exe / SDK / SAMPLES / ROCKEM / D3DBLD.MK < prev    next >
Text File  |  1996-08-28  |  909b  |  34 lines

  1. ############################################################################
  2. #
  3. #  Copyright (C) 1995 Microsoft Corporation.  All Rights Reserved.
  4. #
  5. #  File:        d3dbld.mk
  6. #  Content:     Master makefile for Microsoft Visual C++ 2.0
  7. #               For controlling what gets built (debug, retail, clean) 
  8. #
  9. ############################################################################
  10.  
  11. goal:   debug.mak 
  12.  
  13. all : debug.mak retail.mak
  14.  
  15. debug retail: $@.mak
  16.  
  17. !ifndef MAKENAME
  18. MAKENAME = default.mk
  19. !endif
  20.  
  21. debug.mak retail.mak:
  22.         @if not exist $(@B)\nul md $(@B)
  23.         @cd $(@B)
  24.         @nmake -nologo -f ..\$(MAKENAME) DEBUG="$(@B)"
  25.         @cd ..
  26.         @echo *** Done making $(@B) ***
  27.  
  28. clean:  debug.cln retail.cln
  29.  
  30. debug.cln retail.cln:
  31.         @if exist $(@B)\nul del $(@B) < yes >nul
  32.         @if exist $(@B)\nul rd $(@B) >nul
  33.         @echo *** $(@B) is clean ***
  34.