# Linux v5.4.284 cgroup freezer selftests, with the 4.9 test runner API.
CFLAGS += -Wall -O2 -g
LDLIBS += -pthread
TEST_PROGS := test_freezer

all: $(TEST_PROGS)

test_freezer: test_freezer.c cgroup_util.c cgroup_util.h
	$(CC) $(CFLAGS) test_freezer.c cgroup_util.c $(LDLIBS) -o $@

include ../lib.mk

clean:
	rm -f $(TEST_PROGS)
