]> git.karo-electronics.de Git - karo-tx-linux.git/blob - tools/perf/config/feature-checks/Makefile
tools/perf/build: Split out feature check: 'stackprotector-all'
[karo-tx-linux.git] / tools / perf / config / feature-checks / Makefile
1
2 FILES=                                  \
3         test-hello                      \
4         test-stackprotector-all         \
5         test-libnuma
6
7 CC := $(CC) -MD
8
9 all: $(FILES)
10
11 BUILD = $(CC) -o $(OUTPUT)$@ $@.c
12
13 ###############################
14
15 test-hello:
16         $(BUILD)
17
18 test-stackprotector-all:
19         $(BUILD) -Werror -fstack-protector-all
20
21 test-libnuma:
22         $(BUILD) -lnuma
23
24 -include *.d */*.d
25
26 ###############################
27
28 clean:
29         rm -f $(FILES) *.d