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

  1. #*******************************************************************************
  2. #* SAMPLE PROJECT: ADRAG3 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. ALL: DRAG3.EXE \
  25.      DMSAMP3.RES
  26.  
  27. DRAG3.EXE:  \
  28.   DMSAMP3.OBJ \
  29.   DMSAMP3.RES
  30.    ICC.EXE @<<
  31.  /B" /pmtype:pm"
  32.  /Fe"DRAG3.EXE"
  33. DMSAMP3.OBJ
  34. <<
  35.    RC DMSAMP3.RES DRAG3.EXE
  36.  
  37. {.}.rc.res:
  38.    RC -r -DIC_PM .\$*.RC
  39.  
  40. {.}.c.obj:
  41.    ICC.EXE /Gm /Gd /C   .\$*.c
  42.  
  43. {.}.cpp.obj:
  44.    ICC.EXE /Gm /Gd /C   .\$*.cpp
  45.  
  46. clean:
  47.    $(ERASE) dmsamp3.obj
  48.    $(ERASE) dmsamp3.res
  49.    $(ERASE) drag3.exe
  50.