blob: e757777a6249efe91a9bab78838c1c1b20c1f7d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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 ${EXTRA_LIBS}
.PHONY: clean
clean:
rm -f mbw
|