From 691009407a27b073ba458b48c94820dfb738bcf9 Mon Sep 17 00:00:00 2001 From: Tim Vanderhoek Date: Fri, 12 May 2000 03:52:03 +0000 Subject: [PATCH] Only main.c depends on defrc.h --- usr.bin/more/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr.bin/more/Makefile b/usr.bin/more/Makefile index 354a0322b1f1..1aefc98a54df 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}