Makefile revision 1.1
1# $OpenBSD: Makefile,v 1.1 2015/10/09 06:44:13 semarie Exp $ 2PROG= generic 3SRCS+= main.c manager.c 4NOMAN= yes 5 6CFLAGS+= -Wall -Werror 7 8REGRESS_TARGETS+= test_normal test_systrace 9REGRESS_SKIP_TARGETS+= test_systrace 10 11test_normal: ${PROG} 12 ./${PROG} | diff -I OpenBSD -u ${.CURDIR}/tests.out - 13 14test_systrace: ${PROG} 15 systrace -A ./${PROG} | diff -I OpenBSD -u ${.CURDIR}/tests.out - 16 17regenerate: ${PROG} 18 echo '# $$OpenBSD: Makefile,v 1.1 2015/10/09 06:44:13 semarie Exp $$' > ${.CURDIR}/tests.out 19 ./${PROG} | tee -a ${.CURDIR}/tests.out 20 21.include <bsd.regress.mk> 22