1# $OpenBSD: Makefile,v 1.2 2019/06/17 08:19:30 anton Exp $ 2 3PROG= monotonicrelapse 4LDADD+= -lpthread 5DPADD+= ${LIBPTHREAD} 6WARNINGS= yes 7 8.if ! (make(clean) || make(cleandir) || make(obj)) 9NCPUONLINE!= sysctl -n hw.ncpuonline 10.endif 11 12REGRESS_TARGETS+= run-regress-monotonicrelapse 13 14run-regress-monotonicrelapse: ${PROG} 15 ./${PROG} ${NCPUONLINE} 16 17.include <bsd.regress.mk> 18