home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / x / xvisrc.zoo / makefile.tos < prev    next >
Makefile  |  1992-07-28  |  2KB  |  73 lines

  1. # Copyright (c) 1990,1991,1992 Chris and John Downey
  2. #***
  3. #
  4. # @(#)makefile.tos    2.2 (Chris & John Downey) 7/31/92
  5. #
  6. # program name:
  7. #    xvi
  8. # function:
  9. #    PD version of UNIX "vi" editor, with extensions.
  10. # module name:
  11. #    makefile.tos
  12. # module function:
  13. #    Makefile for the Atari ST - Megamax or Lattice 5.0 C compiler
  14. # history:
  15. #    STEVIE - ST Editor for VI Enthusiasts, Version 3.10
  16. #    Originally by Tim Thompson (twitch!tjt)
  17. #    Extensive modifications by Tony Andrews (onecom!wldrdg!tony)
  18. #    Heavily modified by Chris & John Downey
  19. #***
  20.  
  21. # This for MegaMax:
  22. #CFLAGS=-DATARI -DMEGAMAX
  23. # This for Lattice:
  24. CFLAGS=    -ca -DATARI
  25.  
  26. MACHOBJ=tos.o
  27. MACHSRC=tos.c
  28.  
  29. INCLUDE=ascii.h param.h ptrfunc.h regexp.h regmagic.h xvi.h \
  30.     virtscr.h tos.h
  31.  
  32. OBJ=    defscr.o \
  33.     alloc.o ascii.o buffers.o cmdline.o cursor.o \
  34.     edit.o ex_cmds1.o ex_cmds2.o events.o fileio.o \
  35.     find.o flexbuf.o map.o mark.o misccmds.o movement.o \
  36.     normal.o param.o pipe.o preserve.o ptrfunc.o \
  37.     regexp.o screen.o search.o signal.o startup.o status.o \
  38.     tags.o undo.o version.o windows.o yankput.o \
  39.     $(MACHOBJ)
  40.  
  41. #    Megamax rule
  42. #.c.o:    $< $(INCLUDE) param.c
  43. #    mmcc $(CFLAGS) $<
  44. #    mmimp $*.o
  45. #    mmlib rv vi.lib $*.o
  46.  
  47. # Megamax:
  48. #xvi.ttp : $(OBJ)
  49. #    $(LINKER) vi.lib $(LIBS) -o xvi.ttp
  50.  
  51. # Lattice:
  52. xvi.ttp : $(OBJ) tos.lnk
  53.     clink with tos.lnk
  54.  
  55. tos.lnk: makefile
  56. #
  57. # Suitable commands to create the link file need to go here; see
  58. # makefile.zc3 for an MS-DOS example.
  59. #
  60.     from c:\lib\c.o
  61.     alloc.o ascii.o buffers.o cmdline.o defscr.o
  62.     edit.o ex_cmds1.o ex_cmds2.o events.o
  63.     fileio.o find.o flexbuf.o
  64.     input.o startup.o mark.o misccmds.o movement.o normal.o param.o
  65.     preserve.o ptrfunc.o regexp.o screen.o search.o signal.o
  66.     status.o tos.o undo.o windows.o
  67.     yankput.o
  68.     lib c:\lib\lc.lib c:\lib\lcm.lib
  69.     to xvi.ttp
  70.     
  71. clean :
  72.     $(RM) $(OBJ) vi.lib
  73.