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
|
PROG = hello_customtests
WARNS = 4
MKC_CHECK_CUSTOM = alloca_in_stdlib_h # C lang check
MKC_CHECK_CUSTOM += alloca_in_alloca_h # C lang check
MKC_CHECK_CUSTOM += cxx_with_templates # C++ lang check
MKC_CHECK_CUSTOM += true_is_available # script-based check
MKC_CHECK_CUSTOM += shtest # script-based check
MKC_CUSTOM_FN.alloca_in_stdlib_h = custom_tests/alloca_in_stdlib_h.c
MKC_CUSTOM_FN.alloca_in_alloca_h = custom_tests/alloca_in_alloca_h.c
MKC_CUSTOM_FN.cxx_with_templates = custom_tests/cxx_with_templates.cc
MKC_CUSTOM_FN.true_is_available = custom_tests/true_is_available
MKC_CUSTOM_FN.shtest = custom_tests/shtest
MKC_CHECK_BUILTINS += endianness
MKC_REQD = 0.12.0
.include <mkc.configure.mk>
BUILTIN.endianness ?=
.if ${BUILTIN.endianness} != little && ${BUILTIN.endianness} != big
MKC_ERR_MSG = "Do you run PDP-11?"
.endif
.include "test.mk"
.include <mkc.prog.mk>
|