home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warptlk3.zip / TOOLKIT / SAMPLES / WPS / WPSTUTOR / SHOWDESC.MAK < prev    next >
Makefile  |  1995-08-24  |  2KB  |  69 lines

  1. #******************************************************************************
  2. #
  3. #  Work Place Shell- Show Description 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, 1994  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. #      NOTE: you will have to modify the environment variables to suit
  20. #            your environment
  21. #
  22. #******************************************************************************
  23.  
  24. !include ..\..\ibmsamp.inc
  25.  
  26. CC         = icc
  27. LFLAGS   = /NOE /NOD /ALIGN:16 /EXEPACK /M /BASE:0x10000
  28.  
  29. #===================================================================
  30. #
  31. #   A list of all of the object files
  32. #
  33. #===================================================================
  34. ALL_OBJS = showdesc.obj
  35.  
  36. HEADERS  = showdesc.h methodid.h
  37.  
  38. #===================================================================
  39. #
  40. #   Dependencies
  41. #
  42. #===================================================================
  43.  
  44. .c.obj:
  45.         $(CC) /c /Gd- /Se /Re /ss /Ms /Gm+ /Ti+ $<
  46.  
  47. all: showdesc.exe
  48.  
  49. #
  50. # Resources
  51. #
  52. showdesc.res:   showdesc.h methodid.h showdesc.ico showdesc.rc
  53.         rc -r showdesc.rc
  54.  
  55. showdesc.lnk: showdesc.mak
  56.     echo $(ALL_OBJS)           > showdesc.lnk
  57.     echo showdesc.exe         >> showdesc.lnk
  58.     echo showdesc.map         >> showdesc.lnk
  59.     echo $(MTLIBS)            >> showdesc.lnk
  60.     echo showdesc.def         >> showdesc.lnk
  61.  
  62. showdesc.res: showdesc.rc showdesc.h methodid.h
  63.  
  64. showdesc.obj: showdesc.c $(HEADERS)
  65.  
  66. showdesc.exe: $(ALL_OBJS) showdesc.def showdesc.lnk showdesc.res
  67.     $(LINK) $(LFLAGS) @showdesc.lnk
  68.     rc -p -x showdesc.res showdesc.exe
  69.