summaryrefslogtreecommitdiff
path: root/examples/hello_compatlib/test.mk
blob: 425ad83eb165fd71a5ea6d058f733138c53c131c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FUNCS_RE=(fgetln|progname|strlcat|strlcpy|getline)[.]o

.PHONY : test_output
test_output :
	@set -e; \
	echo =========== all ============; \
	find ${.OBJDIR} -type f | grep -Ev '${FUNCS_RE}' | \
	grep -vE 'libcmpt/.*[.]os?$$' | \
	mkc_test_helper "${PREFIX}" "${.OBJDIR}"; \
	\
	true =========== cleandir ============; \
	${MAKE} ${MAKEFLAGS} distclean > /dev/null

.include <mkc.minitest.mk>