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