home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / videotlk.zip / SAMPLES / EX3 / EX3.INC < prev    next >
Text File  |  1995-07-13  |  2KB  |  71 lines

  1.  
  2. #*------------------------------------------------------------------*
  3. #*                                                                  *
  4. #*  Video Toolkit For OS/2 Version 1.0                              *
  5. #*  Example PM Application No. 3.                                   *
  6. #*  Written by Stephen Sloan and Tony Hicketts.                     *
  7. #*  Date : 22/02/95.                                                *
  8. #*  Copyright (c) Abbotsbury Software Ltd., United Kingdom. 1995.   *
  9. #*                                                                  *
  10. #*  Filename : ex3.inc                                              *
  11. #*                                                                  *
  12. #*------------------------------------------------------------------*/
  13.  
  14. .SUFFIXES:
  15. .SUFFIXES: .rc .res .obj .lst .c .asm .hlp .itl .ipf
  16.  
  17. #===================================================================
  18. # Compile switches  that are enabled
  19. # /c      compile don't link
  20. # /Gm+    use the multi-threaded libraries
  21. # /ss     allow  "//" for comment lines
  22. # /Mp     use the _optlink calling convention as the default
  23. # /Se     allow C Set/2  extensions
  24. # /Ti+    generate debugging information
  25. # /Tm+    enable debug memory management support
  26. # /W3     output all messages generated by compiler
  27. # /G4     generate code to optimize its use on an 80486 processor
  28. # /Gs-    stack probes are in the generated code
  29. # /Wpro   produce diagnostic messages about unprototyped functions
  30. #
  31.  
  32. # debug
  33. #CC      = icc /c /Ti+ /Tm+ /Se /Re /ss /Mp /Gm+ /W3 /G4 /Gs- /Wpro
  34. # no debug
  35. CC      = icc /c /Ti- /Tm- /Se /Re /ss /Mp /Gm+ /W3 /G4 /Gs- /Wpro
  36.  
  37. AFLAGS  = /Mx -t -z
  38. ASM     = ml /c /Zm
  39.  
  40. # debug
  41. #LFLAGS  = /NOD /DEBUG /DOSSEG /ALIGN:4 /EXEPACK /M /BASE:0x10000 /NOI
  42. # no debug
  43. LFLAGS  = /NOD /DOSSEG /ALIGN:4 /EXEPACK /M /BASE:0x10000 /NOI
  44.  
  45. LINK    = LINK386  $(LFLAGS)
  46. LIBS    = DDE4MBS + OS2386
  47. STLIBS  = DDE4SBS + OS2386
  48. MTLIBS  = DDE4MBS + os2386
  49. DLLLIBS = DDE4NBS + os2386
  50. VLIBS   = DDE4SBS + vdh + os2386
  51.  
  52. .c.lst:
  53.     $(CC) -Fc$*.lst -Fo$*.obj $*.c
  54.  
  55. .c.obj:
  56.     $(CC) -Fo$*.obj $*.c
  57.  
  58. .asm.obj:
  59.     $(ASM)   $*.asm
  60.  
  61. .ipf.hlp:
  62.         ipfc $*.ipf /W3
  63.  
  64. .itl.hlp:
  65.         cc  -P $*.itl
  66.         ipfc $*.i
  67.         del $*.i
  68.  
  69. .rc.res:
  70.         rc -r $*.rc
  71.