summaryrefslogtreecommitdiffstats
path: root/bin/csh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bin/csh/Makefile')
-rw-r--r--bin/csh/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index 00c8c8f..0dc44c5 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.7 1997/02/22 14:01:36 peter Exp $
+# $Id: Makefile,v 1.8 1997/08/07 21:42:01 steve Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
#
# C Shell with process control; VM/UNIX VAX Makefile
@@ -32,10 +32,10 @@ errnum.h: err.c
@echo '#endif /* _h_sh_error */' >> ${.TARGET}
const.h: const.c
- @rm -f $@
- @echo '/* Do not edit this file, make creates it. */' > $@
- ${CC} -E ${CFLAGS} ${.CURDIR}/$*.c | egrep 'Char STR' | \
+ @rm -f ${.TARGET}
+ @echo '/* Do not edit this file, make creates it. */' > ${.TARGET}
+ ${CC} -E ${CFLAGS} ${.ALLSRC} | egrep 'Char STR' | \
sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \
- sort >> $@
+ sort >> ${.TARGET}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud