summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-02-27 17:29:51 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-02-27 17:29:51 +0000
commit48aa4a9dbeb8d5bc73b3f5fe21f0b38097adc9d6 (patch)
tree1d35121d4c81a8eef6bd2e5fc08298cc00d7bbe8
parent18a040bd4a1b0c4af47664286b5603c755ce7569 (diff)
Don't define -DDO_METAKEY twice
-rw-r--r--usr.bin/mg/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/usr.bin/mg/Makefile b/usr.bin/mg/Makefile
index 17a81285ee4..6233da74600 100644
--- a/usr.bin/mg/Makefile
+++ b/usr.bin/mg/Makefile
@@ -1,6 +1,6 @@
-# Makefile for MicroEMACS.
-# Is there a better way to do the rebuilds, other than using
-# the links?
+# $OpenBSD: Makefile,v 1.4 2000/02/27 17:29:50 millert Exp $
+
+PROG= mg
LDADD+= -lcurses
DPADD+= ${LIBCURSES}
@@ -16,15 +16,12 @@ DPADD+= ${LIBCURSES}
# PREFIXREGION -- enable function "prefix-region"
# REGEX -- create regular expression functions
#
-CDEFS = -DDO_METAKEY
-CDEFS+= -DDO_METAKEY -DPREFIXREGION -DXKEYS -DFKEYS -DBACKUP
-CFLAGS+=$(CDEFS)
+CFLAGS+=-DDO_METAKEY -DPREFIXREGION -DXKEYS -DFKEYS -DBACKUP
SRCS= cinfo.c fileio.c spawn.c ttyio.c tty.c ttykbd.c \
basic.c dir.c dired.c file.c line.c match.c paragraph.c \
random.c region.c search.c version.c window.c word.c \
buffer.c display.c echo.c extend.c help.c kbd.c keymap.c \
macro.c main.c modes.c regex.c re_search.c
-PROG= mg
.include <bsd.prog.mk>