Makefile (623B)
1# SPDX-License-Identifier: GPL-2.0 2CFLAGS += -Wall -pthread 3 4all: 5 6TEST_FILES := with_stress.sh 7TEST_PROGS := test_stress.sh 8TEST_GEN_PROGS = test_memcontrol 9TEST_GEN_PROGS += test_kmem 10TEST_GEN_PROGS += test_core 11TEST_GEN_PROGS += test_freezer 12TEST_GEN_PROGS += test_kill 13TEST_GEN_PROGS += test_cpu 14 15LOCAL_HDRS += $(selfdir)/clone3/clone3_selftests.h $(selfdir)/pidfd/pidfd.h 16 17include ../lib.mk 18 19$(OUTPUT)/test_memcontrol: cgroup_util.c 20$(OUTPUT)/test_kmem: cgroup_util.c 21$(OUTPUT)/test_core: cgroup_util.c 22$(OUTPUT)/test_freezer: cgroup_util.c 23$(OUTPUT)/test_kill: cgroup_util.c 24$(OUTPUT)/test_cpu: cgroup_util.c