Makefile: add NO_UTEST

Add NO_UTEST to allow the user to disable building utest

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
This commit is contained in:
Fabrice Fontaine 2024-03-08 14:58:24 +01:00
parent b1f2ef5e0b
commit f908750db9
1 changed files with 2 additions and 0 deletions

View File

@ -168,9 +168,11 @@ ifndef NO_FBLAS
$(MAKE) -C test all $(MAKE) -C test all
endif endif
endif endif
ifneq ($(NO_UTEST), 1)
ifneq ($(ONLY_CBLAS), 1) ifneq ($(ONLY_CBLAS), 1)
$(MAKE) -C utest all $(MAKE) -C utest all
endif endif
endif
ifneq ($(NO_CBLAS), 1) ifneq ($(NO_CBLAS), 1)
ifneq ($(ONLY_CBLAS), 1) ifneq ($(ONLY_CBLAS), 1)
$(MAKE) -C ctest all $(MAKE) -C ctest all