diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-05-23 10:33:57 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-05-23 10:33:57 +0200 |
commit | 065fe5e2ab9df3f84297c94040ecd6f15c69c3e1 (patch) | |
tree | 75a9f653a53eb0371f92ab4ed5f223bc97c93d49 /Makefile | |
parent | 97ec8d6a76deb6e70639eeb010f610b31246f426 (diff) |
Add NUMA support
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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: |