- Use LDADD += -lpthread and DPADD += ${LIBPTHREAD} instead of -pthread. - s/-I${.CURDIR}/-I./ to fix make obj. Submitted by: ru