From 065fe5e2ab9df3f84297c94040ecd6f15c69c3e1 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 23 May 2024 10:33:57 +0200 Subject: Add NUMA support --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 950d1a3..e757777 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,16 @@ EXTRA_CFLAGS = +EXTRA_LIBS = ifdef pthread EXTRA_CFLAGS = -DMULTITHREADED -pthread endif +ifdef numa + EXTRA_CFLAGS = -DNUMA + EXTRA_LIBS = -lnuma +endif + mbw: mbw.c - gcc -Wall -Wextra -pedantic -O2 ${EXTRA_CFLAGS} -o mbw mbw.c + gcc -Wall -Wextra -pedantic -O2 ${EXTRA_CFLAGS} -o mbw mbw.c ${EXTRA_LIBS} .PHONY: clean clean: -- cgit v1.2.3