From 6fba6e14e5e6d844f300635c8c27f7ec243608ba Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 2 May 2023 11:12:29 +0200 Subject: add multi-threaded benchmarks for NUMA evaluation and the likes --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c6d7215..950d1a3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,10 @@ +EXTRA_CFLAGS = +ifdef pthread + EXTRA_CFLAGS = -DMULTITHREADED -pthread +endif + mbw: mbw.c - gcc -Wall -Wextra -pedantic -O2 -o mbw mbw.c + gcc -Wall -Wextra -pedantic -O2 ${EXTRA_CFLAGS} -o mbw mbw.c .PHONY: clean clean: -- cgit v1.2.3