19f269900SChris Hyser# SPDX-License-Identifier: GPL-2.0+
29f269900SChris Hyser
39f269900SChris Hyserifneq ($(shell $(CC) --version 2>&1 | head -n 1 | grep clang),)
49f269900SChris HyserCLANG_FLAGS += -no-integrated-as
59f269900SChris Hyserendif
69f269900SChris Hyser
7*0d2cace5SMathieu DesnoyersCFLAGS += -O2 -Wall -g -I./ $(KHDR_INCLUDES) -Wl,-rpath=./ \
89f269900SChris Hyser	  $(CLANG_FLAGS)
99f269900SChris HyserLDLIBS += -lpthread
109f269900SChris Hyser
119f269900SChris HyserTEST_GEN_FILES := cs_prctl_test
129f269900SChris HyserTEST_PROGS := cs_prctl_test
139f269900SChris Hyser
149f269900SChris Hyserinclude ../lib.mk
15