From 89391483390fbcf6ccabd00ac897e10564b52fa7 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Tue, 2 Jan 2024 18:14:00 +0100 Subject: [PATCH] Minor readability improvement Signed-off-by: Gilles Peskine --- programs/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/programs/Makefile b/programs/Makefile index 50be1763e1..4bf11062c6 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -1,8 +1,4 @@ MBEDTLS_TEST_PATH = ../tests -# Support code used by test programs and test builds, excluding TLS-specific -# code which is in the src/test_helpers subdirectory. -MBEDTLS_TEST_OBJS = $(patsubst %.c,%.o,$(wildcard ${MBEDTLS_TEST_PATH}/src/*.c ${MBEDTLS_TEST_PATH}/src/drivers/*.c)) - include ../scripts/common.make ifeq ($(shell uname -s),Linux) @@ -11,6 +7,10 @@ else DLOPEN_LDFLAGS ?= endif +# Support code used by test programs and test builds, excluding TLS-specific +# code which is in the src/test_helpers subdirectory. +MBEDTLS_TEST_OBJS = $(patsubst %.c,%.o,$(wildcard ${MBEDTLS_TEST_PATH}/src/*.c ${MBEDTLS_TEST_PATH}/src/drivers/*.c)) + DEP=${MBEDLIBS} ${MBEDTLS_TEST_OBJS} # Only build the dlopen test in shared library builds, and not when building