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

  1. # This is a part of the Microsoft Foundation Classes C++ library.
  2. # Copyright (C) 1997 Microsoft Corporation
  3. # All rights reserved.
  4. #
  5. # This source code is only intended as a supplement to the
  6. # Microsoft Foundation Classes Reference and related
  7. # electronic documentation provided with the library.
  8. # See these sources for detailed information regarding the
  9. # Microsoft Foundation Classes product.
  10.  
  11. PROJ=COUNTER
  12. OBJS=counter.obj
  13. NO_PCH=1
  14. AFXDLL=1
  15.  
  16. MFCDEFS=/D_AFXDLL /D_USRDLL /D_WINDLL
  17.  
  18. goal: counter.dll
  19.  
  20. DLL_LINKFLAGS=/dll
  21. !if "$(DEBUG)" == "0"
  22. DLL_LINKFLAGS=$(DLL_LINKFLAGS) /debug:none
  23. !else
  24. DLL_LINKFLAGS=$(DLL_LINKFLAGS) /debug:full /debugtype:cv
  25. !endif
  26.  
  27. !include <mfcsamps.mak>
  28.  
  29. counter.dll counter.lib: counter.obj counter.res
  30.     link $(DLL_LINKFLAGS) /out:counter.dll /map:counter.map \
  31.     /implib:counter.lib /def:counter.def counter.obj \
  32.     counter.res
  33.