Runlib KLib bench only on condition that KLIB_CPPFLAGS is set.

This commit is contained in:
Patrick Pelissier committed 2017-03-31 21:23:05 +02:00
1 parent 6d6150e189
commit b55afcd946
1 file changed
+3
+3
View File
@@ -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