home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK11 / MFC / SAMPLES / SPEAKN / MAKEFILE.$ / makefile
Encoding:
Makefile  |  1992-03-18  |  1.2 KB  |  46 lines

  1. # Makefile : Builds the SpeakN application
  2. #
  3. # Usage:     NMAKE option (build SpeakN)
  4. #    or:     NMAKE clean  (erase all compiled files)
  5. #
  6. # option:    DEBUG=[0|1]  (DEBUG not defined is equivalent to DEBUG=0)
  7.  
  8. # This is a part of the Microsoft Foundation Classes C++ library.
  9. # Copyright (C) 1992 Microsoft Corporation
  10. # All rights reserved.
  11. #
  12. # This source code is only intended as a supplement to the
  13. # Microsoft Foundation Classes Reference and Microsoft
  14. # QuickHelp documentation provided with the library.
  15. # See these sources for detailed information regarding the
  16. # Microsoft Foundation Classes product.
  17. #
  18.  
  19.  
  20. # Win 3.1 only (MultiMedia and Pen aware)
  21. CPPFLAGS= /AM /Zp /GA /GEs /G2
  22. LINKFLAGS=/NOD /ONERROR:NOEXE /ALIGN:16
  23.  
  24. !if "$(DEBUG)"=="1"
  25. CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Od /f /Zi /W4
  26. LINKFLAGS=$(LINKFLAGS) /COD
  27. LIBS=mafxcwd libw mlibcew mmsystem
  28. !else
  29. CPPFLAGS=$(CPPFLAGS) /Oselg /Gs /W3
  30. LINKFLAGS=$(LINKFLAGS)
  31. LIBS=mafxcw libw mlibcew mmsystem
  32. !endif
  33.  
  34.  
  35. speakn.exe:    speakn.obj speakn.def speakn.res
  36.         link $(LINKFLAGS) speakn, speakn, NUL, $(LIBS), speakn.def;
  37.         rc -31 /t speakn.res
  38.  
  39. speakn.res: speakn.rc *.ico *.bmp *.wav
  40. speakn.obj: speakn.h
  41.  
  42. clean:
  43.         -erase speakn.exe
  44.         -erase speakn.res
  45.         -erase speakn.obj
  46.