=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/Makefile,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- src/usr.bin/make/Makefile 2000/06/25 20:31:08 1.19 +++ src/usr.bin/make/Makefile 2000/07/17 23:01:20 1.20 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.19 2000/06/25 20:31:08 espie Exp $ +# $OpenBSD: Makefile,v 1.20 2000/07/17 23:01:20 espie Exp $ PROG= make CFLAGS+= -I${.OBJDIR} -I${.CURDIR} -Wall -Wno-char-subscripts -Wno-unused -Wstrict-prototypes#-Wmissing-prototypes -Wstrict-prototypes @@ -32,6 +32,8 @@ ar cq $@ `lorder ${LIBOBJS}|tsort` ranlib $@ +CLEANFILES+=generate hashconsts.h generate.o regress.o check + CLEANFILES+=${LIBOBJS} libohash.a CLEANFILES+= hashconsts.h generate.o generate @@ -44,6 +46,12 @@ generate: generate.o error.o libohash.a ${CC} -o ${.TARGET} ${CFLAGS} ${.ALLSRC} ${LDADD} + +check: regress.o str.o error.o buf.o libohash.a + ${CC} -o ${.TARGET} ${CFLAGS} ${.ALLSRC} ${LDADD} + +regress: check + ${.OBJDIR}/check # kludge for people who forget to make depend var.o: hashconsts.h