home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / wps / graphic / fractint / sources / opendlg.mak < prev    next >
Encoding:
Text File  |  1991-02-21  |  1.6 KB  |  82 lines

  1. # Makefile for OPENDLG.DLL
  2. # Created by Microsoft Corporation, 1989
  3. #
  4.  
  5. # Abbreviations
  6. #
  7. nd      = /codeview
  8. ASM     = masm
  9. CO    = cl -Zpei -W4 -c -u -Asnw -G2sc -Oxaz -B2 C2L -B3 C3L -NT
  10. CD    = cl -Zpei -W4 -c -u -Asnw -G2sc -Od  -NT
  11. LF      = /far /align:16 /map /nod $(nd) /li
  12. OBJS    = tool.obj tool1.obj toola.obj data.obj\
  13.           file.obj file1.obj init.obj gpi.obj
  14. #
  15. #  default to debugging compile
  16. CC    = $(CD)
  17.  
  18. # Inference Rules
  19. #
  20. .asm.obj:
  21.     $(ASM) $*.asm;
  22.  
  23. .c.obj:
  24.     $(CC) _TEXT $*.c
  25.  
  26. #
  27. # main target
  28. #
  29.  
  30. ALL : opendlg.dll opendlg.lib
  31.  
  32.  
  33. # Main files:  OPENDLG.DLL
  34. #
  35. opendlg.dll:    opendlg.mak opendlg.def opendlg.res opendlg.lib $(OBJS)
  36.     echo $(OBJS)        >  opendlg.lnk
  37.     echo opendlg.dll    >> opendlg.lnk
  38.     echo opendlg.map    >> opendlg.lnk
  39.     echo opendlg os2    >> opendlg.lnk
  40.     echo opendlg.def    >> opendlg.lnk
  41.  
  42.     link $(LF) @opendlg.lnk
  43.     mapsym opendlg
  44.     rc opendlg.res opendlg.dll
  45.     del opendlg.lnk
  46.  
  47. # Import Libraries
  48. #
  49. opendlg.lib:    opendlg.mak opendlg.def
  50.     implib $*.lib $*.def
  51.  
  52. # Resources
  53. #
  54. opendlg.res:    opendlg.mak opendlg.dlg opendlg.h opendlg.rc tool.h
  55.     rc -r opendlg.rc
  56.  
  57. # MASM files
  58. #
  59. toola.obj:    opendlg.mak toola.asm
  60.  
  61. # C files
  62. #
  63. tool.obj:    opendlg.mak tool.c
  64.  
  65. data.obj:    opendlg.mak data.c
  66.     $(CC) _INIT data.c
  67.  
  68. gpi.obj:    opendlg.mak gpi.c
  69.     $(CC) _INIT gpi.c
  70.  
  71. tool1.obj:    opendlg.mak tool1.c
  72.     $(CC) _INIT tool1.c
  73.  
  74. init.obj:    opendlg.mak init.c
  75.     $(CC) _INIT init.c
  76.  
  77. file.obj:    opendlg.mak file.c
  78.     $(CC) _FILE file.c
  79.  
  80. file1.obj:    opendlg.mak file1.c
  81.     $(CC) _FILE file1.c
  82.