home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / devtools / toolkt21 / c / samples / palette / palette.mak < prev    next >
Encoding:
Text File  |  1993-05-01  |  2.5 KB  |  62 lines

  1. #┌──────────────────────────────────────────────────────────────────────────┐
  2. #│                                                                          │
  3. #│ PROGRAM NAME: PALETTE                                                    │
  4. #│  A PM program demonstrating vector fonts, palette manager APIs, and IPF  │
  5. #│  help.                                                                   │
  6. #│                                                                          │
  7. #│ COPYRIGHT:                                                               │
  8. #│ ----------                                                               │
  9. #│  Copyright (C) International Business Machines Corp., 1992               │
  10. #│                                                                          │
  11. #│ DISCLAIMER OF WARRANTIES:                                                │
  12. #│ -------------------------                                                │
  13. #│  The following [enclosed] code is sample code created by IBM Corporation.│
  14. #│  This sample code is not part of any standard IBM product and is provided│
  15. #│  to you solely for the purpose of assisting you in the development of    │
  16. #│  your applications.  The code is provided "AS IS", without warranty of   │
  17. #│  any kind.  IBM shall not be liable for any damages arising out of your  │
  18. #│  use of the sample code, even if they have been advised of the           │
  19. #│  possibility of such damages.                                            │
  20. #│                                                                          │
  21. #│ For details on what this program does etc., please see the PALETTE.C     │
  22. #│ file.                                                                    │
  23. #│                                                                          │
  24. #└──────────────────────────────────────────────────────────────────────────┘
  25.  
  26. .SUFFIXES:
  27.  
  28. .SUFFIXES: .c .rc .ipf
  29.  
  30. ALL: PALETTE.EXE \
  31.      PALETTE.HLP \
  32.      PALETTE.RES
  33.  
  34. PALETTE.EXE:  \
  35.   PALETTE.OBJ \
  36.   PALETTE.RES \
  37.   PALETTE.DEF \
  38.   PALETTE.MAK
  39.    @REM @<<PALETTE.@0
  40.      /CO /M /PM:PM +
  41.      PALETTE.OBJ
  42.      PALETTE.EXE
  43.      PALETTE.MAP
  44.  
  45.      PALETTE.DEF;
  46. <<
  47.    LINK386.EXE @PALETTE.@0
  48.    RC -p -x PALETTE.RES PALETTE.EXE
  49.  
  50. palette.res:  palette.rc palette.ico palette.h
  51.     copy ..\prodinfo.bmp
  52.     $(RC) -r palette.rc palette.res
  53.     del prodinfo.bmp
  54.  
  55. {.}.ipf.hlp:
  56.    IPFC .\$*.IPF
  57.  
  58. {.}.c.obj:
  59.   ICC.EXE /Ss /Ti /W2 /Gm /Gs- /C .\$*.c
  60.  
  61. !include PALETTE.INC
  62.