Return to Makefile CVS log | Up to [local] / src / usr.bin / mg |
File: [local] / src / usr.bin / mg / Makefile (download)
Revision 1.20, Thu Jun 12 01:58:44 2008 UTC (16 years ago) by kjell
Introduce a basic c-mode to mg. The intent of this mode is NOT to copy emacs's monster cc-mode. It is intended to handle basic KNF-format C, assisting with indentation (to catch obvious typos), and strip trailing whitespace. It is NOT enabled unless you ask for it (c-mode). Basically, tab on start-of-line whitespace acts like tab. Otherwise, tab indents. Please try it out and let me know where it falls down. Feedback Reyk, phessler. "hack in tree" from henning, theo |
# $OpenBSD: Makefile,v 1.20 2008/06/12 01:58:44 kjell Exp $ PROG= mg LDADD+= -lcurses DPADD+= ${LIBCURSES} # (Common) compile-time options: # # STARTUP -- look for and handle initialization file # FKEYS -- add support for function key sequences. # XKEYS -- use termcap function key definitions. Warning - # XKEYS and bsmap mode do _not_ get along. # REGEX -- create regular expression functions # CFLAGS+=-Wall -DXKEYS -DFKEYS -DREGEX 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 re_search.c funmap.c undo.c autoexec.c \ yank.c # # More or less standalone extensions. # SRCS+= grep.c theo.c mail.c cmode.c .include <bsd.prog.mk>