2ef35b8049
NTHU-CS Maple BBS 2.36 BBS-like editor ve is a tiny editor. Besides normal functions, it has some great features for programmers -- goto line (ESC-G) cut & paste cross files (Ctrl-G to see ve.hlp) block shift left/right (ESC-J/K, Ctrl-G to see ve.hlp) parenthesis matching (ESC-[) seaching (Ctrl-S, ESC-n, ESC-p) (matching start of line, case sensitive/in-sensitive, forward/backward) undo line (ESC - '-', or ESC-_ ) undelete lines (ESC-u) ... emacs-like hot-key Provided by Rui-Xiang Guo <rxg@netbsd.org> in pkg/16268
27 lines
737 B
Text
27 lines
737 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2002/04/19 14:05:17 zuntum Exp $
|
|
|
|
--- Makefile.orig Sun Apr 7 16:11:20 2002
|
|
+++ Makefile
|
|
@@ -1,10 +1,9 @@
|
|
-CC = gcc
|
|
-OBJ = edit.o term.o screen.o stuff.o io.o editor.o
|
|
+OBJ = edit.o term.o screen.o stuff.o io.o editor.o entab.o
|
|
|
|
#----------------------------------------------------------
|
|
-# FreeBSD
|
|
+# FreeBSD / NetBSD
|
|
#----------------------------------------------------------
|
|
-CFLAGS = -DVEDITOR
|
|
+CFLAGS += -DVEDITOR
|
|
LIBS = -ltermcap -lcompat
|
|
|
|
#----------------------------------------------------------
|
|
@@ -31,7 +30,7 @@
|
|
cp 00readme.txt ve.hlp /usr/local/share/ve
|
|
|
|
ve: $(OBJ)
|
|
- gcc $(CFLAGS) -o ve $(OBJ) $(LIBS)
|
|
+ $(CC) $(CFLAGS) -o ve $(OBJ) $(LIBS)
|
|
|
|
entab: entab.o
|
|
gcc -o entab entab.o
|