home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / VP2SRC.ZIP / MAKEFILE.M45 < prev    next >
Text File  |  1988-08-04  |  4KB  |  110 lines

  1. #
  2. #  $Header: makefile 3.3 87/12/12 00:49:54 Bob Exp $
  3. #
  4. #                          The Conference Mail System
  5. #
  6. #              This module was originally written by Bob Hartman
  7. #                       Sysop of FidoNet node 1:132/101
  8. #
  9. #   Spark Software, 427-3 Amherst St, CS 2032, Suite 232, Nashua, NH 03061
  10. #
  11. # The Conference Mail System  is a  complete Echomail processing package.  It
  12. # is a superset of the original  Echomail utilities created by Jeff Rush, and
  13. # also contains ideas gleaned from the  ARCmail,  Renum,  oMMM, MGM, and Opus
  14. # programs that were created by various software authors.
  15. #
  16. # This program source code is being released with the following provisions:
  17. #
  18. # 1.  You are  free to make  changes to this source  code for use on your own
  19. # machine,  however,  altered source files may not be distributed without the 
  20. # consent of Spark Software.
  21. #
  22. # 2.  You may distribute "patches"  or  "diff" files for any changes that you
  23. # have made, provided that the "patch" or "diff" files are also sent to Spark
  24. # Software for inclusion in future releases of the entire package.   A "diff"
  25. # file for the source archives may also contain a compiled version,  provided
  26. # it is  clearly marked as not  being created  from the original source code.
  27. # No other  executable  versions may be  distributed without  the  consent of
  28. # Spark Software.
  29. #
  30. # 3.  You are free to include portions of this source code in any program you
  31. # develop, providing:  a) Credit is given to Spark Software for any code that
  32. # may is used, and  b) The resulting program is free to anyone wanting to use
  33. # it, including commercial and government users.
  34. #
  35. # 4.  There is  NO  technical support  available for dealing with this source
  36. # code, or the accompanying executable files.  This source  code  is provided
  37. # as is, with no warranty expressed or implied (I hate legalease).   In other
  38. # words, if you don't know what to do with it,  don't use it,  and if you are
  39. # brave enough to use it, you're on your own.
  40. #
  41. # Spark Software may be contacted by modem at (603) 888-8179 (node 1:132/101)
  42. # on the public FidoNet network, or at the address given above.
  43. #
  44. # To use this code you will need Microsoft C version 4.0, and also Microsoft
  45. # Macro Assembler version 4.0.
  46. #
  47.  
  48. #
  49. #   $Log:    makefile $
  50. # Revision 3.3  87/12/12  00:49:54  Bob
  51. # Source code release
  52. #
  53.  
  54. # Makefile for the ConfMail program
  55. #
  56.  
  57. #
  58. # Default C Compiler flags
  59. #
  60. CFLAGS = /DMSC /DNOHELP /Gs /AL /Osr /Zp /J /c
  61.  
  62. #
  63. # Default Masm flags
  64. #
  65. #MFLAGS =
  66.  
  67. MOBJS = lowlevel.obj
  68.  
  69. COBJS = stdio.obj msglst.obj data.obj seautils.obj \
  70. fidoutil.obj fast_io.obj fasttoss.obj \
  71. msg.obj arc_e.obj toss.obj message.obj date.obj \
  72. filedir.obj copy.obj
  73.  
  74. EXTRAOBJ = scan.obj hw.obj look_up.obj write.obj seen.obj \
  75. arc_a.obj fastscan.obj
  76.  
  77. confmail.exe: $(COBJS) $(EXTRAOBJ) $(MOBJS) main.obj pntabbs.obj
  78.     LINK /NOE /EXEPACK $(COBJS) $(MOBJS) $(EXTRAOBJ) main.obj pntabbs.obj, \
  79. $*/STACK:3000,$*/MAP/LI;
  80.  
  81. c1.exe: $(COBJS) $(EXTRAOBJ) main.obj pntabbs.obj
  82.     LINK /NOE $(COBJS) $(EXTRAOBJ) main.obj pntabbs.obj, \
  83. $*/STACK:3000,$*/MAP/LI;
  84.  
  85. #
  86. # Dependencies for .C files and compiler line to generate 'em.
  87. #
  88.  
  89. $(COBJS): $*.c
  90.     CL $(CFLAGS) $*.c
  91.  
  92. $(EXTRAOBJ): $*.c
  93.     CL $(CFLAGS) $*.c
  94.  
  95. main.obj: main.c
  96.     CL /DPOINT_TYPE $(CFLAGS) main.c
  97.  
  98. pntabbs.obj: areasbbs.c
  99.     CL /DPOINT_TYPE $(CFLAGS) /Fopntabbs.obj areasbbs.c
  100.  
  101.  
  102. #
  103. # Dependencies for .ASM files and compiler line to generate 'em.
  104. #
  105.  
  106. $(MOBJS): $*.asm
  107.     masm $*;
  108.  
  109.