# $FreeBSD$ TESTS= lock-cycle recurse conflict CFLAGS+= -DLOCK_PROFILING -g -Wall -Wextra -Werror -lthr_profile .PHONY: tests tests: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean clean: -rm -f ${TESTS} lockprof.xml lock-cycle: lock-cycle.c check.c ${CC} -o lock-cycle lock-cycle.c check.c ${CFLAGS} recurse: recurse.c check.c ${CC} -o recurse recurse.c check.c ${CFLAGS} conflict: conflict.c check.c ${CC} -o conflict conflict.c check.c ${CFLAGS}