Add comments to Makefiles

Add missing comment to Makefiles about purpose of the change.
This commit is contained in:
Arto Kinnunen 2019-09-25 17:08:39 +03:00
parent 8307802824
commit 5e639ed026
2 changed files with 4 additions and 0 deletions

View file

@ -5,6 +5,8 @@ PREFIX=mbedtls_
PROGRAMS_DIR=./programs PROGRAMS_DIR=./programs
TESTS_DIR=./tests TESTS_DIR=./tests
# Check test environment. If ../library is available then Mbed TLS is used.
# Otherwise Mbed OS environment is used.
DIR_FOR_MBED_TLS_ENV=./library DIR_FOR_MBED_TLS_ENV=./library
ifneq "$(wildcard $(DIR_FOR_MBED_TLS_ENV) )" "" ifneq "$(wildcard $(DIR_FOR_MBED_TLS_ENV) )" ""
LIBRARY_DIR=./library LIBRARY_DIR=./library

View file

@ -5,6 +5,8 @@ CFLAGS ?= -O2
WARNING_CFLAGS ?= -Wall -W -Wdeclaration-after-statement WARNING_CFLAGS ?= -Wall -W -Wdeclaration-after-statement
LDFLAGS ?= LDFLAGS ?=
# Check test environment. If ../library is available then Mbed TLS is used.
# Otherwise Mbed OS environment is used.
DIR_FOR_MBED_TLS_ENV=../library DIR_FOR_MBED_TLS_ENV=../library
ifneq "$(wildcard $(DIR_FOR_MBED_TLS_ENV) )" "" ifneq "$(wildcard $(DIR_FOR_MBED_TLS_ENV) )" ""
# Set include dirs for Mbed TLS test environment # Set include dirs for Mbed TLS test environment