tools/testing/selftests/sched/Makefile
raw| 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | ifneq ($(shell $(CC) --version 2>&1 | head -n 1 | grep clang),) |
| 4 | CLANG_FLAGS += -no-integrated-as |
| 5 | endif |
| 6 | |
| 7 | CFLAGS += -O2 -Wall -g -I./ $(KHDR_INCLUDES) -Wl,-rpath=./ \ |
| 8 | $(CLANG_FLAGS) |
| 9 | LDLIBS += -lpthread |
| 10 | |
| 11 | TEST_GEN_FILES := cs_prctl_test |
| 12 | TEST_PROGS := cs_prctl_test |
| 13 | |
| 14 | include ../lib.mk |