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