home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume1 / 8711 / 19 < prev    next >
Internet Message Format  |  1990-07-13  |  4KB

  1. Path: uunet!husc6!hao!ames!necntc!ncoast!allbery
  2. From: physh@unicom.UUCP
  3. Newsgroups: comp.sources.misc
  4. Subject: Manx MS-DOS makefile for MicroEMACS.
  5. Summary: A makefile for Manx/Aztec users for large model version.
  6. Keywords: emacs microemacs manx aztec makefile enormous
  7. Message-ID: <5821@ncoast.UUCP>
  8. Date: 26 Nov 87 04:32:57 GMT
  9. Sender: allbery@ncoast.UUCP
  10. Organization: Science Computer Center, MCC, Kentfield, CA
  11. Lines: 68
  12. Approved: allbery@ncoast.UUCP
  13. X-Archive: comp.sources.misc/8711/19
  14.  
  15.  
  16. Cut off the ends on the --- C U T --- lines, and read the comments.  If
  17. you need it you already know who you are.  I was a little disappointed
  18. there wasn't one in the distribution.  Well now there is.
  19.  
  20.                     Jon
  21.  
  22. >>---- C U T -----------------------------------<<
  23. #
  24. # Makefile for Manx/Aztec C, version 3.40a (or greater) although, I
  25. # can't think of anything offhand which would not make it work with
  26. # previous versions.  Remember to set MSDOS and AZTEC in estruct.h
  27. # This generates a large model version, which is capable of reading
  28. # in a file thats approximately 90% of main memory size.  The flags
  29. # in FLAGS field (in case you need to know):
  30. #
  31. #  +l - large model
  32. #  +f - generate fast code
  33. #  -n - don't gather extra symbol info
  34. #  +s - put strings in the code segment
  35. #  +b - put in code for stack checking
  36. #
  37. # To generate MicroEMACS 3.9e, just take the distribution from the net,
  38. #  unshar it, move it to a PC, copy this file to "makefile", and
  39. #  type "make".  Manx make will take over and do the job.  You will
  40. #  get several pointer warnings, but that appears normal, and doesn't
  41. #  seem to effect the code.  Its setup for a PC, but you can change that
  42. #  some by changing all the ibmpc.[oc]'s with whatever (like hp150, etc.)
  43. #
  44. # ----- From: -----
  45. # {ucbvax,hoptoad}!\                      ~~~~~~~\~~~   That's spelled
  46. # {lll-lcc,hplabs}!well!unicom!physh       Jon  }()      "physh" and 
  47. #         {ptsfa,dual}!/                        /     pronounced "fish".
  48. #
  49. FLAGS=    +l +f -n +s +b
  50. OBJS=    basic.o bind.o buffer.o crypt.o display.o eval.o exec.o file.o\
  51.     fileio.o input.o isearch.o line.o main.o random.o region.o search.o\
  52.     spawn.o ibmpc.o termio.o word.o window.o
  53. .c.o:
  54.     cc $(FLAGS) $*.c -o $*.o
  55.  
  56. emacs.exe:    $(OBJS)
  57.         ln -t -q $(OBJS) -o emacs.exe -lcl
  58.  
  59. basic.o: basic.c ebind.h epath.h efunc.h edef.h estruct.h
  60. bind.o: bind.c ebind.h epath.h efunc.h edef.h estruct.h
  61. buffer.o: buffer.c ebind.h epath.h efunc.h edef.h estruct.h
  62. crypt.o: crypt.c ebind.h epath.h efunc.h edef.h estruct.h
  63. display.o: display.c ebind.h epath.h efunc.h edef.h estruct.h
  64. eval.o: eval.c ebind.h epath.h efunc.h edef.h estruct.h evar.h
  65. exec.o: exec.c ebind.h epath.h efunc.h edef.h estruct.h
  66. file.o: file.c ebind.h epath.h efunc.h edef.h estruct.h
  67. fileio.o: fileio.c ebind.h epath.h efunc.h edef.h estruct.h
  68. input.o: input.c ebind.h epath.h efunc.h edef.h estruct.h
  69. isearch.o: isearch.c ebind.h epath.h efunc.h edef.h estruct.h
  70. line.o: line.c ebind.h epath.h efunc.h edef.h estruct.h
  71. main.o: main.c ebind.h efunc.h edef.h estruct.h
  72.     cc $(FLAGS) -Z8000 $*.c -o $*.o
  73. random.o: random.c ebind.h epath.h efunc.h edef.h estruct.h
  74. region.o: region.c ebind.h epath.h efunc.h edef.h estruct.h
  75. search.o: search.c ebind.h epath.h efunc.h edef.h estruct.h
  76. spawn.o: spawn.c ebind.h epath.h efunc.h edef.h estruct.h
  77. ibmpc.o: ibmpc.c ebind.h epath.h efunc.h edef.h estruct.h
  78. termio.o: termio.c ebind.h epath.h efunc.h edef.h estruct.h
  79. word.o: word.c ebind.h epath.h efunc.h edef.h estruct.h
  80. window.o: window.c ebind.h epath.h efunc.h edef.h estruct.h
  81.     cc $(FLAGS) -E200 $*.c -o $*.o
  82. >>---- C U T -----------------------------------<<
  83.