home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ipdssdk.zip / SDK / SAMPLES / WELCOME / WELCOME.MAK < prev    next >
Text File  |  1994-02-07  |  3KB  |  54 lines

  1. #/*****************************************************************************/
  2. #/*                                                                           */
  3. #/*  COPYRIGHT:                                                               */
  4. #/*                                                                           */
  5. #/*  (C) Copyright International Business Machine Corp, 1991,1994             */
  6. #/*                                                                           */
  7. #/*  DISCLAIMER OF WARRANTIES:                                                */
  8. #/*                                                                           */
  9. #/*  The following enclosed code is sample code created by IBM Corporation.   */
  10. #/*  This code is not part of any standard IBM product and is provided to you */
  11. #/*  soley for the purpose of assisting you in the development of your        */
  12. #/*  applications. The code is provided "AS IS", without warranty of any      */
  13. #/*  kind. IBM shall not be liable for any damages arising out of your use    */
  14. #/*  of the sample code, even if they have been advised of the possibility    */
  15. #/*  of such damages.                                                         */
  16. #/*                                                                           */
  17. #/*  FILE NAME: welcome.mak                                                   */
  18. #/*             Makefile for welcome.exe.                                     */
  19. #/*                                                                           */
  20. #/*  FUNCTION:  This is the file makefile for the WELCOME demo program.       */
  21. #/*                                                                           */
  22. #/*                                                                           */
  23. #/*****************************************************************************/
  24.  
  25. # The following must be defined in the system environment
  26. #
  27. #       TOOLINCLUDE - OS/2 toolkit include directory
  28. #       CINCLUDE - C compiler include directory
  29. #       CTRLLIB - IBM Personal Dictation System API directory
  30.  
  31.  
  32. # Compiler flags for the IBMC compiler
  33. CCFLAGS = -Q -Sa -c /Ss /Ti /Gm /Gd /Gt+ /C -DOS2
  34.  
  35. # For debug version, add /CO to link statement
  36. welcome.exe: welcome.obj wcspeech.obj welcome.res welcome.def
  37.          link386 /CO /NOI /PM:PM +welcome.obj +wcspeech.obj, welcome.exe, \
  38.                  welcome.map, $(CTRLLIB)\lite_sm.lib, welcome.def;
  39.  
  40.         rc welcome.res
  41.  
  42. welcome.res:
  43.    RC -i $(TOOLINCLUDE) -i $(CINCLUDE) -r welcome.rc
  44.  
  45. .c.obj:
  46.    ICC.EXE $(CCFLAGS) /I $(TOOLINCLUDE) /I $(CTRLSRC)\api\inc /I $(CINCLUDE) /I $(CTRLLIB)\inc $(<)
  47.  
  48. welcome.obj:      welcome.c welcome.h wcres.h wcspeech.h
  49.  
  50. wcspeech.obj:     wcspeech.c welcome.h wcspeech.h
  51.  
  52. welcome.res:      welcome.rc wcres.h
  53.  
  54.