home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / DRAG1 / MAKEFILE < prev    next >
Text File  |  1995-05-15  |  2KB  |  47 lines

  1. #*******************************************************************************
  2. #* SAMPLE PROJECT: ADRAG1 SAMPLE MAKEFILE for OS/2                             *
  3. #*                                                                             *
  4. #* COPYRIGHT:                                                                  *
  5. #* ----------                                                                  *
  6. #* Copyright (C) International Business Machines Corp., 1992,1995.             *
  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. ERASE=ERASE
  21. .SUFFIXES:
  22. .SUFFIXES: .c .cpp .rc
  23.  
  24. DRAG1.EXE:  \
  25.   DMSAMP1.OBJ \
  26.   dmsamp1.res
  27.    ICC.EXE @<<
  28.  /B" /pmtype:pm"
  29.  /Fe"DRAG1.EXE"
  30. DMSAMP1.OBJ
  31. <<
  32.    RC dmsamp1.res drag1.exe
  33.  
  34. {.}.rc.res:
  35.    RC -r -DIC_PM .\$*.RC
  36.  
  37. {.}.c.obj:
  38.    ICC.EXE /Gm /Gd /C   .\$*.c
  39.  
  40. {.}.cpp.obj:
  41.    ICC.EXE /Gm /Gd /C   .\$*.cpp
  42.  
  43. clean:
  44.    $(ERASE) dmsamp1.obj
  45.    $(ERASE) dmsamp1.res
  46.    $(ERASE) drag1.exe
  47.