1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
##################################################
PROJECTNAME = libmaa
tests = arg base basics bit debug hash list log memstr memobj \
prime pr prm set sl string stack err
.for d in ${tests}
LIBDEPS += maa:tests/${d} # all tests depend on maa library
SUBPRJ += tests/${d}:test # target "test" is for tests/*
test-tests/${d}: all-tests/${d} # new inter-target dependency
.endfor
SUBPRJ += doc
SUBPRJ_DFLT = maa test
NODEPS += install-tests/*:* # do not install tests
NODEPS += all-tests/*:* # do not build tests by default
NODEPS += test-doc:* test-maa:* # nothing to test in doc/ and maa/
##################################################
MKC_REQD = 0.34.0
##################################################
.include "help.mk"
.include "Makefile.common"
.include <mkc.subprj.mk>
|