Commit | Line | Data |
---|---|---|
b6aa9979 | 1 | |
3ae069cf IM |
2 | FILES= \ |
3 | test-hello \ | |
4 | test-libnuma | |
b6aa9979 | 5 | |
8b6eb56a IM |
6 | CC := $(CC) -MD |
7 | ||
b6aa9979 IM |
8 | all: $(FILES) |
9 | ||
10 | BUILD = $(CC) -o $(OUTPUT)$@ $@.c | |
11 | ||
12 | ############################### | |
13 | ||
8b6eb56a | 14 | test-hello: |
b6aa9979 IM |
15 | $(BUILD) |
16 | ||
3ae069cf IM |
17 | test-libnuma: |
18 | $(BUILD) -lnuma | |
19 | ||
8b6eb56a IM |
20 | -include *.d */*.d |
21 | ||
b6aa9979 IM |
22 | ############################### |
23 | ||
24 | clean: | |
8b6eb56a | 25 | rm -f $(FILES) *.d |