summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/seccomp/Makefile
blob: fce7f4ce069251a675c05f30f412c5361c4dbde3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# SPDX-License-Identifier: GPL-2.0
all:

include ../lib.mk

.PHONY: all clean

BINARIES := seccomp_bpf seccomp_benchmark
CFLAGS += -Wl,-no-as-needed -Wall

seccomp_bpf: seccomp_bpf.c ../kselftest_harness.h
	$(CC) $(CFLAGS) $(LDFLAGS) -lpthread $< -o $@

TEST_PROGS += $(BINARIES)
EXTRA_CLEAN := $(BINARIES)

all: $(BINARIES)