tools/perf/build: Split out feature check: 'libnuma'
[linux-block.git] / tools / perf / config / feature-checks / Makefile
CommitLineData
b6aa9979 1
3ae069cf
IM
2FILES= \
3 test-hello \
4 test-libnuma
b6aa9979 5
8b6eb56a
IM
6CC := $(CC) -MD
7
b6aa9979
IM
8all: $(FILES)
9
10BUILD = $(CC) -o $(OUTPUT)$@ $@.c
11
12###############################
13
8b6eb56a 14test-hello:
b6aa9979
IM
15 $(BUILD)
16
3ae069cf
IM
17test-libnuma:
18 $(BUILD) -lnuma
19
8b6eb56a
IM
20-include *.d */*.d
21
b6aa9979
IM
22###############################
23
24clean:
8b6eb56a 25 rm -f $(FILES) *.d