MAKEFILE
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:

Windows编程

开发平台:

Visual C++

  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. PROJ=COUNTER
  11. OBJS=counter.obj
  12. NO_PCH=1
  13. AFXDLL=1
  14. MFCDEFS=/D_AFXDLL /D_USRDLL /D_WINDLL
  15. goal: counter.dll
  16. DLL_LINKFLAGS=/dll
  17. !if "$(DEBUG)" == "0"
  18. DLL_LINKFLAGS=$(DLL_LINKFLAGS) /debug:none
  19. !else
  20. DLL_LINKFLAGS=$(DLL_LINKFLAGS) /debug:full /debugtype:cv
  21. !endif
  22. !include <mfcsamps.mak>
  23. counter.dll counter.lib: counter.obj counter.res
  24. link $(DLL_LINKFLAGS) /out:counter.dll /map:counter.map 
  25. /implib:counter.lib /def:counter.def counter.obj 
  26. counter.res