home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / strob103.zip / compile.cmd next >
OS/2 REXX Batch file  |  1998-12-31  |  2KB  |  37 lines

  1. @echo off
  2. echo --- READ THE INCLUDED REMARKS BEFORE EXECUTING ---
  3. rem *************************************************************************
  4. rem COMPILE.CMD - compile STROBE under OS/2
  5.  
  6. rem --- This file is part of strobe V1.03 ---
  7.  
  8. rem Author:  Ramin Darakhschani <ramin@eunet.at>
  9.  
  10. rem License: Released under terms and conditions as in included COPYRIGHT file.
  11.  
  12. rem History:
  13. rem 19981231 Created Ramin Darakhschani
  14.  
  15. rem Usage:
  16.  
  17. rem You must enter the following data at the commandline:
  18.  
  19. rem    %1 = ETC_SERVICES         - The path to your etc/services file
  20. rem                                e.g. "C:\\TCPIP\\ETC\\SERVICES"
  21. rem    %2 = STROBE_SERVICES      - The name of strobe.services
  22. rem                                normally "strobe.services"
  23. rem    %3 = LIB_STROBE_SERVICES  - The complete path to your strobe.services,
  24. rem                                e.g. ".\\strobe.services" or
  25. rem                                     "d:\\emx\\lib\\strobe.services"
  26.  
  27. rem *************************************************************************
  28.  
  29. rem Unremark the appropriate line below
  30.  
  31. rem This is the line you'd call for a general version of strobe
  32. rem *** gcc -DETC_SERVICES=%1 -DSTROBE_SERVICES=%2 -DLIB_STROBE_SERVICES=%3 -O2 -funroll-loops -Zomf -Zcrtdll strobe.c -los2 -lsocket
  33.  
  34. rem This is the line you'd call if you have IBM TCP/IP V4 installed
  35. rem *** gcc -DETC_SERVICES=%1 -DSTROBE_SERVICES=%2 -DLIB_STROBE_SERVICES=%3 -DTCPIPV4 -O2 -funroll-loops -Zomf -Zcrtdll strobe.c -los2 -lsocket -o strobeV4.exe
  36.  
  37.