# $FreeBSD$ TESTS= lor-basic setorder bless setname graph shared CFLAGS+= -g -Wall -Wextra -Werror -lwitness -lpthread .PHONY: tests tests: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean clean: -rm -f ${TESTS} witness.xml lor-basic: lor-basic.c check.c ${CC} -o lor-basic lor-basic.c check.c ${CFLAGS} setorder: setorder.c check.c ${CC} -o setorder setorder.c check.c ${CFLAGS} bless: bless.c check.c ${CC} -o bless bless.c check.c ${CFLAGS} setname: setname.c check.c ${CC} -o setname setname.c check.c ${CFLAGS} graph: graph.c check.c ${CC} -o graph graph.c check.c ${CFLAGS} shared: shared.c check.c ${CC} -o shared shared.c check.c ${CFLAGS}