summaryrefslogtreecommitdiffstats
path: root/bin/csh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bin/csh/Makefile')
-rw-r--r--bin/csh/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index b63d705..1fa24a1 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -18,7 +18,7 @@ DFLAGS= -D_PATH_TCSHELL='"/rescue/${PROG}"'
DFLAGS= -D_PATH_TCSHELL='"/bin/${PROG}"'
.endif
CFLAGS+= -I. -I${.CURDIR} -I${TCSHDIR} ${DFLAGS}
-WARNS?= 0
+WARNS?= 1
SRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \
sh.exp.c sh.file.c sh.func.c sh.glob.c sh.hist.c sh.init.c \
sh.lex.c sh.misc.c sh.parse.c sh.print.c sh.proc.c sh.sem.c \
@@ -116,10 +116,10 @@ gethost: gethost.c sh.err.h tc.const.h sh.h
${CC} -o gethost ${LDFLAGS} ${CFLAGS:C/-DHAVE_ICONV//} \
${TCSHDIR}/gethost.c
-tc.defs.c: gethost ${.CURDIR}/host.defs
+tc.defs.c: gethost ${TCSHDIR}/host.defs
@rm -f ${.TARGET}
@echo "/* Do not edit this file, make creates it */" > ${.TARGET}
- ./gethost ${.CURDIR}/host.defs >> ${.TARGET}
+ ./gethost ${TCSHDIR}/host.defs >> ${.TARGET}
ed.defns.h: ed.defns.c
@rm -f ${.TARGET}
OpenPOWER on IntegriCloud