summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-08-07 21:28:27 +0000
committerjkh <jkh@FreeBSD.org>1994-08-07 21:28:27 +0000
commitf97b56dcb01747e0ac3658d63b7f608139be3f3a (patch)
tree2327c158e1d7c7d8440852ca44c5f91cc9fe9a08 /bin
parent5b3842afd9bfc7f3346ba403413baca9e8580272 (diff)
downloadFreeBSD-src-f97b56dcb01747e0ac3658d63b7f608139be3f3a.zip
FreeBSD-src-f97b56dcb01747e0ac3658d63b7f608139be3f3a.tar.gz
The handling of err.h and const.h were in a real tangle and didn't
work if you didn't explicitly depend first; this should both simplify things and make it work in all circumstances. Reviewed by: Submitted by:
Diffstat (limited to 'bin')
-rw-r--r--bin/csh/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index e92db04..75a5f0d 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -7,12 +7,10 @@
PROG= csh
DFLAGS=-DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS
-#CFLAGS+=-g
-#CFLAGS+=-Wall -ansi -pedantic
CFLAGS+=-I${.CURDIR} -I. ${DFLAGS}
SRCS= alloc.c char.c const.c csh.c dir.c dol.c err.c exec.c exp.c file.c \
func.c glob.c hist.c init.c lex.c misc.c parse.c printf.c proc.c \
- sem.c set.c str.c time.c
+ sem.c set.c str.c time.c const.h err.h
.PATH: ${.CURDIR}/../../usr.bin/printf
MAN1= csh.1
@@ -39,8 +37,4 @@ const.h: const.c
sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \
sort >> $@
-./const.h: const.h
-./err.h: err.h
-.depend: const.h err.h
-
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud