home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / ole / oleview / makefile < prev    next >
Encoding:
Makefile  |  1998-03-27  |  1.1 KB  |  39 lines

  1. # makefile - Handy makefile for command-line use
  2. #
  3. # Usage:
  4. #   nmake [options] [all|clean]
  5. #
  6. # Options:
  7. #   DEBUG=0     Build retail version
  8. #   DEBUG=1     Build debug version (default)
  9.  
  10. # This is a part of the Microsoft Foundation Classes C++ library.
  11. # Copyright (C) 1992-1997 Microsoft Corporation
  12. # All rights reserved.
  13. #
  14. # This source code is only intended as a supplement to the
  15. # Microsoft Foundation Classes Reference and related
  16. # electronic documentation provided with the library.
  17. # See these sources for detailed information regarding the
  18. # Microsoft Foundation Classes product.
  19.  
  20.  
  21. PROJ=OLEVIEW
  22. OBJS=doc.obj        mainfrm.obj    obj_vw.obj     oleview.obj    regview.obj    shadow.obj    \
  23.      util.obj       view.obj
  24.  
  25. USES_OLE=1
  26. !include <mfcsamps.mak>
  27. # Review: non standard resoure filename
  28. #!if "$(DEBUG)" == "1"
  29. #all:
  30. #        nmake -f oleview.mak CFG="oleview - Win32 Debug"
  31. #clean:
  32. #   @-if exist Debug\*.* echo y | erase Debug\*.*
  33. #!else
  34. #all:
  35. #        nmake -f oleview.mak CFG="oleview - Win32 Release"
  36. #clean:
  37. #   @-if exist Release\*.* echo y | erase Release\*.*
  38. #!endif
  39.