1# SPDX-License-Identifier: GPL-2.0
2all:
3
4include ../lib.mk
5
6.PHONY: all clean
7
8BINARIES := seccomp_bpf seccomp_benchmark
9CFLAGS += -Wl,-no-as-needed -Wall
10
11seccomp_bpf: seccomp_bpf.c ../kselftest_harness.h
12	$(CC) $(CFLAGS) $(LDFLAGS) $< -lpthread -o $@
13
14TEST_PROGS += $(BINARIES)
15EXTRA_CLEAN := $(BINARIES)
16
17all: $(BINARIES)
18