summaryrefslogtreecommitdiffstats
path: root/usr.bin/more
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>2000-05-12 03:52:03 +0000
committerhoek <hoek@FreeBSD.org>2000-05-12 03:52:03 +0000
commitb0b1d1568651e4f571bf4dc44c7a83bde03ef33b (patch)
tree17ab4fe2cb9d6c472f5a6f662c6b6f8ce5cfa315 /usr.bin/more
parentd8f1e148f1ff3e728a8030d0cec846f97305f5d7 (diff)
downloadFreeBSD-src-b0b1d1568651e4f571bf4dc44c7a83bde03ef33b.zip
FreeBSD-src-b0b1d1568651e4f571bf4dc44c7a83bde03ef33b.tar.gz
Only main.c depends on defrc.h
Diffstat (limited to 'usr.bin/more')
-rw-r--r--usr.bin/more/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/more/Makefile b/usr.bin/more/Makefile
index 354a032..1aefc98 100644
--- a/usr.bin/more/Makefile
+++ b/usr.bin/more/Makefile
@@ -4,7 +4,7 @@
PROG= more
CFLAGS+=-I${.CURDIR} -I${.OBJDIR} -DTERMIOS
-SRCS= ch.c command.c defrc.h help.c input.c line.c linenum.c macro.c main.c \
+SRCS= ch.c command.c help.c input.c line.c linenum.c macro.c main.c \
ncommand.c option.c os.c output.c position.c prim.c screen.c signal.c \
tags.c ttyin.c
DPADD= ${LIBTERMCAP}
@@ -15,6 +15,8 @@ CLEANFILES+= defrc.h
EXAMPDIR= /usr/share/examples/more
EXAMPLES= default.morerc less.morerc most.morerc
+main.c: defrc.h
+
defrc.h: default.morerc
@echo '/* ${.TARGET:T} auto-generated from ${.ALLSRC:T} */' \
> ${.TARGET}
OpenPOWER on IntegriCloud