mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-03 12:35:02 +00:00
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:
This commit is contained in:
parent
15e31b9bf5
commit
db6ec19933
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1915
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user