From b55afcd94632893090b2deebe810bbd5182f8074 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Fri, 31 Mar 2017 21:23:05 +0200 Subject: [PATCH] Runlib KLib bench only on condition that KLIB_CPPFLAGS is set. --- bench/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bench/Makefile b/bench/Makefile index 4c1b1f73..15897a1c 100644 --- a/bench/Makefile +++ b/bench/Makefile @@ -35,6 +35,9 @@ bench-qt: @./bench-qt.exe 7 bench-klib: + if test -n "$${KLIB_CPPFLAGS}" ; then make bench-klib0 ; else echo "Nothing to be done." ; fi + +bench-klib0: $(CC) $(CFLAGS) $(CPPFLAGS) $${KLIB_CPPFLAGS} bench-klib.c -o bench-klib.exe @./bench-klib.exe 1 @./bench-klib.exe 2