home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / viscobv6.zip / vac22os2 / ibmcobol / samples / toolkit / tcpiptk / echosamp / echoclnt / metaware.mak < prev    next >
Text File  |  1996-11-19  |  3KB  |  70 lines

  1. #********************************************************copyrite.xic******/
  2. #                                                                          /
  3. #   Licensed Materials - Property of IBM                                   /
  4. #   IBM TCP/IP for OS/2                                                    /
  5. #   (C) Copyright IBM Corporation. 1996.                                   /
  6. #                                                                          /
  7. #   All rights reserved.                                                   /
  8. #                                                                          /
  9. #   US Government Users Restricted Rights -                                /
  10. #   Use, duplication or disclosure restricted by GSA ADP Schedule          /
  11. #   Contract with IBM Corp.                                                /
  12. #                                                                          /
  13. #--------------------------------------------------------------------------/
  14. #                                                                          /
  15. #  DISCLAIMER OF WARRANTIES.  The following [enclosed] code is             /
  16. #  sample code created by IBM Corporation. This sample code is not         /
  17. #  part of any standard or IBM product and is provided to you solely       /
  18. #  for  the purpose of assisting you in the development of your            /
  19. #  applications.  The code is provided "AS IS", without                    /
  20. #  warranty of any kind.  IBM shall not be liable for any damages          /
  21. #  arising out of your use of the sample code, even if they have been      /
  22. #  advised of the possibility of such damages.                             /
  23. #--------------------------------------------------------------------------/
  24. #  Compiler options:
  25. #
  26. #   -g    : Generate debugger information
  27. #   -W2   : Produce severe errors, errors and warnings
  28. #   -c    : Compile only
  29. #   -D    : define Macro
  30. #   -Idir : Specify a directory (dir) to search for include files
  31. #
  32. #
  33. #  Linker options:
  34. #
  35. #   /De  : Prepare for Debugging
  36. #   /NOI : Preserve the case sensitivity
  37. #
  38. #
  39. #  To clean up the directory and go back to just the original files
  40. #   issue: nmake -f metaware.mak clean
  41.  
  42. HCOSLIB = D:\HCOS2\LIB
  43. LIBLIST = so32dll.lib tcp32dll.lib $(HCOSLIB)\os2386.lib $(HCOSLIB)\hct.lib
  44.  
  45. # Define the Compiler program to use
  46. CC   = hc -g -w2 -DOS2 -c -Ic:\toolkit\h
  47.  
  48. # Define the Linker program to use
  49. LINK =link386
  50.  
  51. #===========================================================================
  52.  
  53. ALL : echoclnt.exe echoc1st.exe
  54.  
  55. echoclnt.obj : echoclnt.c vacpp.mak
  56.   $(CC) echoclnt.c
  57.  
  58. echoclnt.exe: echoclnt.obj
  59.   $(LINK) /De echoclnt $(HCOSLIB)\startup.obj,echoclnt.exe,NUL,$(LIBLIST),echo.def;
  60.  
  61. echoc1st.obj : echoc1st.c vacpp.mak
  62.   $(CC) echoc1st.c
  63.  
  64. echoc1st.exe: echoc1st.obj
  65.   $(LINK) /De echoc1st $(HCOSLIB)\startup.obj,echoc1st.exe,NUL,$(LIBLIST),echo.def;
  66.  
  67. clean:
  68.         -del *.obj
  69.         -del *.exe
  70.