Deleted Added
full compact
0a1
> # $Id: Makefile,v 1.7 1997/02/22 14:01:36 peter Exp $
2d2
< # $Id$
14c14
< sem.c set.c str.c time.c const.h err.h
---
> sem.c set.c str.c time.c const.h errnum.h
22c22
< CLEANFILES+=err.h const.h
---
> CLEANFILES+=const.h errnum.h
24c24
< const.h: err.h
---
> const.h: errnum.h
26,32c26,32
< err.h: err.c
< @rm -f $@
< @echo '/* Do not edit this file, make creates it. */' > $@
< @echo '#ifndef _h_sh_err' >> $@
< @echo '#define _h_sh_err' >> $@
< egrep 'ERR_' ${.CURDIR}/$*.c | egrep '^#define' >> $@
< @echo '#endif /* _h_sh_err */' >> $@
---
> errnum.h: err.c
> @rm -f ${.TARGET}
> @echo '/* Do not edit this file, make creates it. */' > ${.TARGET}
> @echo '#ifndef _h_sh_error' >> ${.TARGET}
> @echo '#define _h_sh_error' >> ${.TARGET}
> egrep 'ERR_' ${.ALLSRC} | egrep '^#define' >> ${.TARGET}
> @echo '#endif /* _h_sh_error */' >> ${.TARGET}