1# SPDX-License-Identifier: GPL-2.0 2 3CFLAGS += -O3 -Wl,-no-as-needed -Wall -I $(top_srcdir) 4LDLIBS += -lpthread -lm -luring 5 6TEST_PROGS := test_generic_01.sh 7 8TEST_PROGS += test_null_01.sh 9TEST_PROGS += test_null_02.sh 10TEST_PROGS += test_loop_01.sh 11TEST_PROGS += test_loop_02.sh 12TEST_PROGS += test_loop_03.sh 13TEST_PROGS += test_loop_04.sh 14 15TEST_PROGS += test_stress_01.sh 16TEST_PROGS += test_stress_02.sh 17 18TEST_GEN_PROGS_EXTENDED = kublk 19 20include ../lib.mk 21 22$(TEST_GEN_PROGS_EXTENDED): kublk.c null.c file_backed.c common.c 23 24check: 25 shellcheck -x -f gcc *.sh 26