home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / MSGDP206.SZH / MAKEFILE < prev    next >
Text File  |  1990-11-20  |  3KB  |  116 lines

  1. #
  2. # MKMF template makefile for executables.
  3. #
  4.  
  5. cc              = ztc
  6. debug        = 1
  7.  
  8. !if $(debug)
  9. linkopt         += /co /li
  10. cflags          = -g $w $u $a -b 
  11. !else
  12. cflags      = $w $u $a $o -R -b
  13. linkopt     = /pac /f
  14. !endif
  15.  
  16. dest        = c:\bin\
  17. exthdrs        =
  18. hdrs        = bmg.h date.h editmail.h fido.h maincmds.h menu.h mkfp.h \
  19.           msged.h nedit.h quick.h screen.h screen2.h vfossil.h
  20. linker        = blink
  21. makefile    = makefile
  22. model           = v
  23. lobjs           = msged.obj screen.obj screen2.obj menu.obj (string.obj editmail.obj) \
  24.           (areas.obj) (bmg.obj) (config.obj) (dir.obj) (fido.obj) (quick.obj) \
  25.           (maintmsg.obj) (makemsg.obj) (readmail.obj normal.obj) (date.obj) \
  26.           (settings.obj) (showmail.obj) (textfile.obj) (userlist.obj)
  27. objs        = areas.obj bmg.obj config.obj date.obj dir.obj editmail.obj \
  28.           fido.obj maintmsg.obj makemsg.obj menu.obj \
  29.           msged.obj normal.obj quick.obj readmail.obj \
  30.           screen.obj screen2.obj settings.obj showmail.obj \
  31.           string.obj textfile.obj userlist.obj 
  32. program        = msged.exe
  33. srcs        = areas.c bmg.c config.c date.c dir.c editmail.c fido.c \
  34.           maintmsg.c makemsg.c menu.c msged.c \
  35.           normal.asm quick.c readmail.c screen.c screen2.asm \
  36.           settings.c showmail.c string.c textfile.c userlist.c
  37. startup     = $(swap) $(lib)\int.obj
  38. ulibs           =
  39.  
  40. vpath           =
  41.  
  42. !if $(model) != v
  43. lobjs = $(objs)
  44. !endif
  45.  
  46. all:        $(program)
  47.  
  48. $(program):    $(objs) $(ulibs) $(makefile)
  49.         $(link)
  50.  
  51. $(program,B).lzh: $(srcs) $(hdrs) $(makefile)
  52.         !foreach f $?
  53.             lharc u $(program,B) $f
  54.         !end
  55.  
  56. archive:    $(program,B).lzh
  57.             exp
  58.  
  59. clean:;        @rm -f $(objs)
  60.  
  61. depend:;    @mkmf -f $(makefile) program=$(program) dest=$(dest)
  62.  
  63. .PRECIOUS:    msged.tag
  64.  
  65. msged.tag:      $(obj) 
  66. !if $(debug)
  67.         ztag /I $(objs),$(program,B)
  68. !endif
  69.  
  70. install:    $(program)
  71.         @echo installing $(program) in $(dest)
  72.         @if not $(dest)x==.x copy $(program) $(dest)
  73.  
  74. !if $(debug)
  75. .asm.obj :
  76.     masm /mx /zi $*;
  77. !endif
  78.  
  79. ### OPUS MKMF:  Do not remove this line!  Automatic dependencies follow.
  80.  
  81. areas.obj: fido.h msged.h nedit.h quick.h screen.h
  82.  
  83. bmg.obj: bmg.h
  84.  
  85. config.obj: fido.h msged.h nedit.h quick.h screen.h
  86.  
  87. date.obj: date.h fido.h msged.h nedit.h quick.h screen.h
  88.  
  89. editmail.obj: editmail.h fido.h msged.h nedit.h quick.h screen.h
  90.  
  91. fido.obj: date.h fido.h msged.h nedit.h quick.h screen.h
  92.  
  93. maintmsg.obj: date.h fido.h msged.h nedit.h quick.h screen.h
  94.  
  95. makemsg.obj: date.h fido.h msged.h nedit.h quick.h screen.h
  96.  
  97. menu.obj: menu.h screen.h
  98.  
  99. msged.obj: bmg.h fido.h maincmds.h msged.h nedit.h quick.h screen.h
  100.  
  101. quick.obj: date.h fido.h msged.h nedit.h quick.h screen.h
  102.  
  103. readmail.obj: bmg.h date.h fido.h msged.h nedit.h quick.h screen.h
  104.  
  105. screen.obj: mkfp.h screen.h screen2.h vfossil.h
  106.  
  107. settings.obj: fido.h menu.h msged.h nedit.h quick.h screen.h
  108.  
  109. showmail.obj: date.h fido.h msged.h nedit.h quick.h screen.h
  110.  
  111. textfile.obj: date.h fido.h msged.h nedit.h quick.h screen.h
  112.  
  113. userlist.obj: fido.h msged.h nedit.h quick.h screen.h
  114.  
  115. string.obj: string.c
  116.