home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / CMDS / memacs400_src.lzh / MEMACS400 / SRC / Makefile < prev    next >
Makefile  |  1996-05-03  |  3KB  |  107 lines

  1. #    OS-9 makefile for
  2. #    MicroEMACS 4.0
  3. #    (C)Copyright 1995 by Daniel Lawrence
  4. #    all rights reserved
  5.  
  6. # modify the following lines with the proper relative directories
  7.  
  8. # object file directory
  9. RDIR = ../rels
  10. # source file directory
  11. SDIR = ../src
  12. # header file directory
  13. HDIR = ../h
  14. ODIR = /h0/cmds
  15. CC=cc
  16.  
  17. # options and arguments to the C compiler
  18.  
  19. CFLAGS= -w=/h0/lib -t=/r0 -v=$(HDIR) -v=/h0/defs/cgfx -ix -q #  -g
  20. LFLAGS = -l=/h0/lib/os9lib.l -l=/h0/lib/termlib.l -l=/h0/lib/cgfx.l # -M=20k  -g
  21.  
  22. # list of header files
  23.  
  24. HFILES = $(HDIR)/estruct.h $(HDIR)/edef.h $(HDIR)/efunc.h $(HDIR)/epath.h $(HDIR)/ebind.h\
  25.   $(HDIR)/eproto.h
  26.  
  27. #list of object files
  28.  
  29. F1 = $(RDIR)/abbrev.r $(RDIR)/basic.r $(RDIR)/bind.r $(RDIR)/buffer.r
  30. F2 = $(RDIR)/char.r $(RDIR)/crypt.r $(RDIR)/display.r $(RDIR)/dolock.r
  31. F3 = $(RDIR)/eval.r $(RDIR)/exec.r $(RDIR)/file.r
  32. F4 = $(RDIR)/fileio.r $(RDIR)/unix.r $(RDIR)/input.r
  33. F5 = $(RDIR)/isearch.r $(RDIR)/keyboard.r $(RDIR)/line.r $(RDIR)/lock.r
  34. F6 = $(RDIR)/main.r $(RDIR)/mouse.r $(RDIR)/screen.r $(RDIR)/select.r
  35. F7 = $(RDIR)/random.r $(RDIR)/region.r $(RDIR)/search.r $(RDIR)/replace.r
  36. F8 = $(RDIR)/tags.r $(RDIR)/undo.r $(RDIR)/window.r $(RDIR)/word.r $(RDIR)/gsscsz.r 
  37.  
  38. # product list
  39.  
  40. all:    $(ODIR)/emacs
  41.     @echo all done
  42.  
  43. OFILES =    $(F1) $(F2) $(F3) $(F4) $(F5) $(F6) $(F7) $(F8)
  44.  
  45. $(ODIR)/emacs:    $(OFILES)
  46.         $(CC) $(CFLAGS) $(OFILES) $(LFLAGS)  -f=emacs
  47.  
  48. $(RDIR)/abbrev.r: $(SDIR)/abbrev.c $(HFILES)
  49.  
  50. $(RDIR)/basic.r: $(SDIR)/basic.c $(HFILES)
  51.  
  52. $(RDIR)/bind.r: $(SDIR)/bind.c $(HFILES)
  53.  
  54. $(RDIR)/buffer.r: $(SDIR)/buffer.c $(HFILES)
  55.  
  56. $(RDIR)/char.r: $(SDIR)/char.c $(HFILES)
  57.  
  58. $(RDIR)/crypt.r: $(SDIR)/crypt.c $(HFILES)
  59.  
  60. $(RDIR)/cmdfix.r: $(SDIR)/cmdfix.c $(HFILES)
  61.  
  62. $(RDIR)/display.r: $(SDIR)/display.c $(HFILES)
  63.  
  64. $(RDIR)/dolock.r: $(SDIR)/dolock.c $(HFILES)
  65.  
  66. $(RDIR)/eval.r: $(SDIR)/eval.c $(HFILES) $(HDIR)/evar.h
  67.  
  68. $(RDIR)/exec.r: $(SDIR)/exec.c $(HFILES)
  69.  
  70. $(RDIR)/file.r: $(SDIR)/file.c $(HFILES)
  71.  
  72. $(RDIR)/fileio.r: $(SDIR)/fileio.c $(HFILES)
  73.  
  74. $(RDIR)/input.r: $(SDIR)/input.c $(HFILES)
  75.  
  76. $(RDIR)/isearch.r: $(SDIR)/isearch.c $(HFILES)
  77.  
  78. $(RDIR)/line.r: $(SDIR)/line.c $(HFILES)
  79.  
  80. $(RDIR)/lock.r: $(SDIR)/lock.c $(HFILES)
  81.  
  82. $(RDIR)/main.r: $(SDIR)/main.c $(HFILES)
  83.  
  84. $(RDIR)/mouse.r: $(SDIR)/mouse.c $(HFILES)
  85.  
  86. $(RDIR)/unix.r: $(SDIR)/unix.c $(HFILES)
  87.  
  88. $(RDIR)/random.r: $(SDIR)/random.c $(HFILES)
  89.  
  90. $(RDIR)/region.r: $(SDIR)/region.c $(HFILES)
  91.  
  92. $(RDIR)/screen.r: $(SDIR)/screen.c $(HFILES)
  93.  
  94. $(RDIR)/search.r: $(SDIR)/search.c $(HFILES)
  95.  
  96. $(RDIR)/replace.r: $(SDIR)/replace.c $(HFILES)
  97.  
  98. $(RDIR)/tags.r: $(SDIR)/tags.c $(HFILES)
  99.  
  100. $(RDIR)/window.r: $(SDIR)/window.c $(HFILES)
  101.  
  102. $(RDIR)/word.r: $(SDIR)/word.c $(HFILES)
  103.  
  104. $(RDIR)/undo.r: $(SDIR)/undo.c $(HFILES)
  105.  
  106.  
  107.