home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / SAMPLES / COMPILER / SAMPLE05 / MAKE05S < prev    next >
Text File  |  1993-05-07  |  2KB  |  35 lines

  1. #*******************************************************************************
  2. #* SAMPLE PROGRAM 05: MAKE05S                                                  *
  3. #*                                                                             *
  4. #* COPYRIGHT:                                                                  *
  5. #* ----------                                                                  *
  6. #* Copyright (C) International Business Machines Corp., 1991,1993.             *
  7. #*                                                                             *
  8. #* DISCLAIMER OF WARRANTIES:                                                   *
  9. #* -------------------------                                                   *
  10. #* The following [enclosed] code is sample code created by IBM                 *
  11. #* Corporation.  This sample code is not part of any standard IBM product      *
  12. #* and is provided to you solely for the purpose of assisting you in the       *
  13. #* development of your applications.  The code is provided "AS IS",            *
  14. #* without warranty of any kind.  IBM shall not be liable for any damages      *
  15. #* arising out of your use of the sample code, even if they have been          *
  16. #* advised of the possibility of such damages.                                 *
  17. #*                                                                             *
  18. #*******************************************************************************
  19.  
  20. .SUFFIXES: .c .dll .exe
  21.  
  22. SAMPLE05.DLL:  SAMPLE05.C SAMPLE05.H
  23.    ICC.EXE /O+ /Rn /Ge- /Gd- /B"/NOE" .\sample05.c sample05.def
  24.    COPY SAMPLE05.DLL ..\..\..\DLL > NUL:
  25.  
  26. MAIN05.EXE:  MAIN05.C SAMPLE05.H
  27.    ICC.EXE /O+ /Gd- /B"/BASE:0x10000" .\main05.c main05.def
  28.  
  29. all: sample05.dll  main05.exe
  30.  
  31. clean:
  32.          -Del  SAMPLE05.obj MAIN05.obj
  33.          -Del  SAMPLE05.dll MAIN05.exe
  34.          -Del  ..\..\..\DLL\SAMPLE05.dll
  35.