home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / source / tlktbeta / samples / wpstutor / showdesc.mak < prev    next >
Encoding:
Text File  |  1993-07-13  |  2.1 KB  |  63 lines

  1. #******************************************************************************
  2. #
  3. #  Work Place Shell Sample makefile
  4. #
  5. #  This makefile builds the Show Method Description program, SHOWDESC.EXE.
  6. #  This program is used with the WPS Object class WPSTutorial, in WPSTUTOR.DLL.
  7. #
  8. #  Copyright (C) 1993 IBM Corporation
  9. #
  10. #      DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
  11. #      sample code created by IBM Corporation. This sample code is not
  12. #      part of any standard or IBM product and is provided to you solely
  13. #      for  the purpose of assisting you in the development of your
  14. #      applications.  The code is provided "AS IS", without
  15. #      warranty of any kind.  IBM shall not be liable for any damages
  16. #      arising out of your use of the sample code, even if they have been
  17. #      advised of the possibility of such damages.                                                    *
  18. #
  19. #******************************************************************************
  20.  
  21. include ..\ibmsamp.inc
  22.  
  23. CC         = icc /c /Gd- /Se /Re /ss /Ms /Gm+ /Ti+
  24. LFLAGS   = /NOE /NOD /ALIGN:16 /EXEPACK /M /BASE:0x10000 /CO
  25.  
  26. #===================================================================
  27. #
  28. #   A list of all of the object files
  29. #
  30. #===================================================================
  31. ALL_OBJS = showdesc.obj
  32.  
  33. HEADERS  = showdesc.h methodid.h
  34.  
  35. #===================================================================
  36. #
  37. #   Dependencies
  38. #
  39. #===================================================================
  40.  
  41. all: showdesc.exe
  42.  
  43. #
  44. # Resources
  45. #
  46. showdesc.res:   showdesc.h methodid.h showdesc.ico showdesc.rc
  47.         rc -r showdesc.rc
  48.  
  49. showdesc.lnk: showdesc.mak
  50.     echo $(ALL_OBJS)           > showdesc.lnk
  51.     echo showdesc.exe         >> showdesc.lnk
  52.     echo showdesc.map         >> showdesc.lnk
  53.     echo $(MTLIBS)            >> showdesc.lnk
  54.     echo showdesc.def         >> showdesc.lnk
  55.  
  56. showdesc.res: showdesc.rc showdesc.h methodid.h
  57.  
  58. showdesc.obj: showdesc.c $(HEADERS)
  59.  
  60. showdesc.exe: $(ALL_OBJS) showdesc.def showdesc.lnk showdesc.res
  61.     $(LINK) $(LFLAGS) @showdesc.lnk
  62.     rc -p -x showdesc.res showdesc.exe
  63.