1# $OpenBSD: Makefile,v 1.4 2011/05/01 04:25:40 guenther Exp $ 2 3PROG= globtest 4 5run-regress-${PROG}: 6 mkdir -m 755 -p `sed 's@/[^/]*$$@@' ${.CURDIR}/files | sort -u` 7 umask 022; touch `cat ${.CURDIR}/files` 8 chmod 0755 `grep '/r[^/]*$$' ${.CURDIR}/files` 9 chmod 0444 `grep '/s[^/]*$$' ${.CURDIR}/files` 10 chmod 0711 `grep '/t[^/]*$$' ${.CURDIR}/files` 11 ./${PROG} ${.CURDIR}/${PROG}.in 12 13clean: 14 rm -rf fake ${PROG} ${OBJS} *.core 15 16.include <bsd.regress.mk> 17