Ingo Molnar | b6aa997 | 2013-09-30 10:08:24 +0200 | [diff] [blame] | 1 | |
Ingo Molnar | 3ae069c | 2013-09-30 13:37:10 +0200 | [diff] [blame] | 2 | FILES= \ |
3 | test-hello \ | ||||
Ingo Molnar | 90ac542 | 2013-09-30 13:48:44 +0200 | [diff] [blame^] | 4 | test-stackprotector-all \ |
Ingo Molnar | 3ae069c | 2013-09-30 13:37:10 +0200 | [diff] [blame] | 5 | test-libnuma |
Ingo Molnar | b6aa997 | 2013-09-30 10:08:24 +0200 | [diff] [blame] | 6 | |
Ingo Molnar | 8b6eb56 | 2013-09-30 13:51:28 +0200 | [diff] [blame] | 7 | CC := $(CC) -MD |
8 | |||||
Ingo Molnar | b6aa997 | 2013-09-30 10:08:24 +0200 | [diff] [blame] | 9 | all: $(FILES) |
10 | |||||
11 | BUILD = $(CC) -o $(OUTPUT)$@ $@.c | ||||
12 | |||||
13 | ############################### | ||||
14 | |||||
Ingo Molnar | 8b6eb56 | 2013-09-30 13:51:28 +0200 | [diff] [blame] | 15 | test-hello: |
Ingo Molnar | b6aa997 | 2013-09-30 10:08:24 +0200 | [diff] [blame] | 16 | $(BUILD) |
17 | |||||
Ingo Molnar | 90ac542 | 2013-09-30 13:48:44 +0200 | [diff] [blame^] | 18 | test-stackprotector-all: |
19 | $(BUILD) -Werror -fstack-protector-all | ||||
20 | |||||
Ingo Molnar | 3ae069c | 2013-09-30 13:37:10 +0200 | [diff] [blame] | 21 | test-libnuma: |
22 | $(BUILD) -lnuma | ||||
23 | |||||
Ingo Molnar | 8b6eb56 | 2013-09-30 13:51:28 +0200 | [diff] [blame] | 24 | -include *.d */*.d |
25 | |||||
Ingo Molnar | b6aa997 | 2013-09-30 10:08:24 +0200 | [diff] [blame] | 26 | ############################### |
27 | |||||
28 | clean: | ||||
Ingo Molnar | 8b6eb56 | 2013-09-30 13:51:28 +0200 | [diff] [blame] | 29 | rm -f $(FILES) *.d |