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