home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Spezial / SPEZIAL2_97.zip / SPEZIAL2_97.iso / ANWEND / EDITOR / NVI179B / NVI179B.ZIP / ip / IP_INSTRUCTIONS < prev    next >
Text File  |  1996-10-13  |  879b  |  42 lines

  1. 1: Add:
  2.     -DRUNNING_IP
  3.  
  4.    to the Makefile CFLAGS line and rebuild cl_main.o if it's already
  5.    been compiled.
  6.  
  7. 2: Add:
  8.  
  9.     IPOBJS=    ip_funcs.o ip_main.o ip_read.o ip_screen.o ip_term.o
  10.  
  11.    after the other object lists in the Makefile.
  12.  
  13. 3: Add
  14.     $(IPOBJS)
  15.  
  16.    to the end of the NVIALL= line in the Makefile.
  17.  
  18. 4: Add:
  19.  
  20.     # Vi IP sources.
  21.     ip_funcs.o: $(srcdir)/ip/ip_funcs.c
  22.         $(CC) $(CFLAGS) $?
  23.     ip_main.o: $(srcdir)/ip/ip_main.c
  24.         $(CC) $(CFLAGS) $?
  25.     ip_read.o: $(srcdir)/ip/ip_read.c
  26.         $(CC) $(CFLAGS) $?
  27.     ip_screen.o: $(srcdir)/ip/ip_screen.c
  28.         $(CC) $(CFLAGS) $?
  29.     ip_term.o: $(srcdir)/ip/ip_term.c
  30.         $(CC) $(CFLAGS) $?
  31.  
  32.    at the end of the Makefile.
  33.  
  34. 5: Remove cl_main.o if it exists, and make nvi.
  35.  
  36. 6: Go to ip_cl and change the entries in the Makefile to reflect
  37.    where the nvi binary was just built.
  38.  
  39. 7: Build ip_cl.
  40.  
  41. 8: Enter ip_cl and you should be running vi over a pipe.
  42.