home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / C / HSRC_100 / MAKEFILE.BC < prev    next >
Text File  |  1993-01-11  |  4KB  |  90 lines

  1. #==============================================================================
  2. #
  3. #                             HydraCom Version 1.00
  4. #
  5. #                        A sample implementation of the
  6. #                  HYDRA Bi-Directional File Transfer Protocol
  7. #
  8. #                            HydraCom was written by
  9. #                  Arjen G. Lentz, LENTZ SOFTWARE-DEVELOPMENT
  10. #                 COPYRIGHT (C) 1991-1993; ALL RIGHTS RESERVED
  11. #
  12. #                      The HYDRA protocol was designed by
  13. #                Arjen G. Lentz, LENTZ SOFTWARE-DEVELOPMENT and
  14. #                            Joaquim H. Homrighausen
  15. #                 COPYRIGHT (C) 1991-1993; ALL RIGHTS RESERVED
  16. #
  17. #
  18. # Revision history:
  19. # 06 Sep 1991 - (AGL) First tryout
  20. # .. ... .... - Internal development
  21. # 11 Jan 1993 - HydraCom version 1.00, Hydra revision 001 (01 Dec 1992)
  22. #
  23. #
  24. # For complete details of the Hydra and HydraCom licensing restrictions,
  25. # please refer to the license agreements which are published in their entirety
  26. # in HYDRACOM.C and LICENSE.DOC, and also contained in the documentation file
  27. # HYDRACOM.DOC
  28. #
  29. # Use of this file is subject to the restrictions contained in the Hydra and
  30. # HydraCom licensing agreements. If you do not find the text of this agreement
  31. # in any of the aforementioned files, or if you do not have these files, you
  32. # should immediately contact LENTZ SOFTWARE-DEVELOPMENT and/or Joaquim 
  33. # Homrighausen at one of the addresses listed below. In no event should you
  34. # proceed to use this file without having accepted the terms of the Hydra and
  35. # HydraCom licensing agreements, or such other agreement as you are able to
  36. # reach with LENTZ SOFTWARE-DEVELOMENT and Joaquim Homrighausen.
  37. #
  38. #
  39. # Hydra protocol design and HydraCom driver:         Hydra protocol design:
  40. # Arjen G. Lentz                                     Joaquim H. Homrighausen
  41. # LENTZ SOFTWARE-DEVELOPMENT                         389, route d'Arlon
  42. # Langegracht 7B                                     L-8011 Strassen
  43. # 3811 BT  Amersfoort                                Luxembourg
  44. # The Netherlands
  45. # FidoNet 2:283/512, AINEX-BBS +31-33-633916         FidoNet 2:270/17
  46. # arjen_lentz@f512.n283.z2.fidonet.org               joho@ae.lu
  47. #
  48. # Please feel free to contact us at any time to share your comments about our
  49. # software and/or licensing policies.
  50. #
  51. #==============================================================================
  52.  
  53.  
  54. # Makefile to compile HydraCom with Borland C, adapt for your compiler flavour
  55.  
  56. .RESPONSE_LINK: tlink link
  57.  
  58. # Compiler flags: C=Compiler, T=Assembler, L=Linker
  59. # MODEL=Memory Model (small!)
  60. MODEL  = s
  61. TMODEL = small
  62. CFLAGS = -c -m$(MODEL) -f- -G -O -Z -d -w+ -H=HYDRACOM.SYM -D__PROTO__
  63. TFLAGS = /mx /v /z /zi /w2 /DMODL=$(TMODEL)
  64. LFLAGS = /x/c/d
  65.  
  66. # Object files that TC/BC is responsible for generating:
  67. HYDRA  = hydracom.obj hydra.obj fmisc.obj misc.obj dos_file.obj syspc.obj
  68.  
  69. # Object files that TASM is responsible for generating:
  70. TOBJS  = async.obj
  71.  
  72. # Dependency list for executables, and LINK command lines
  73. all:      hydracom.exe
  74.  
  75. hydracom.exe: $(HYDRA) $(TOBJS)
  76.           tlink $(LFLAGS) c0$(MODEL) $(HYDRA) $(TOBJS),$*,NUL,C$(MODEL);
  77.  
  78. # Dependencies for .C files and compiler line to generate 'em.
  79. $(HYDRA): $*.c hydracom.h
  80.           bcc $(CFLAGS) $*.c
  81.  
  82. # Modules with special includes here
  83. hydra.obj: hydra.h
  84.  
  85. # Dependencies for .ASM files and compiler line to generate 'em.
  86. $(TOBJS): $*.asm
  87.           tasm $(TFLAGS) $*;
  88.  
  89. # end of makefile
  90.