Fix crypto submodule usage in Makefile

This commit is contained in:
Andrzej Kurek 2019-04-16 07:02:02 -04:00
parent d65b11d868
commit 67df9e498f

View file

@ -22,7 +22,7 @@ lib:
tests: lib tests: lib
$(MAKE) -C tests $(MAKE) -C tests
ifdef USE_CRYPTO_SUBMODULE ifneq ($(USE_CRYPTO_SUBMODULE), 0)
$(MAKE) CRYPTO_INCLUDES:="-I../../include -I../include" -C crypto/tests $(MAKE) CRYPTO_INCLUDES:="-I../../include -I../include" -C crypto/tests
endif endif
@ -109,7 +109,7 @@ endif
check: lib tests check: lib tests
$(MAKE) -C tests check $(MAKE) -C tests check
ifdef USE_CRYPTO_SUBMODULE ifneq ($(USE_CRYPTO_SUBMODULE), 0)
$(MAKE) CRYPTO_INCLUDES:="-I../../include -I../include" -C crypto/tests check $(MAKE) CRYPTO_INCLUDES:="-I../../include -I../include" -C crypto/tests check
endif endif