Makefile revision 1.4
1# $OpenBSD: Makefile,v 1.4 2021/02/09 16:58:00 claudio Exp $ 2 3PROG= syscall_library 4.if ${.CURDIR} == ${.OBJDIR} 5LIBDIR= ../libgadgetsyscall 6.else 7LIBDIR= ${.CURDIR}/../libgadgetsyscall/${__objdir} 8.endif 9LDADD+= -L${LIBDIR} -lgadgetsyscall 10 11run-regress-${PROG}: ${PROG} 12 rm -f ${PROG}.core 13 ulimit -c unlimited && ! LD_LIBRARY_PATH=${LIBDIR} ./${PROG} 14 if [ ! -e ${PROG}.core ]; then echo "No coredump"; false; fi 15 16.include <bsd.regress.mk> 17