blob: fce7f4ce069251a675c05f30f412c5361c4dbde3 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Kees Cook967d7ba2015-12-02 11:39:36 -08002all:
Kees Cookc99ee512015-06-16 10:54:14 -07003
Kees Cookc99ee512015-06-16 10:54:14 -07004include ../lib.mk
5
Kees Cook967d7ba2015-12-02 11:39:36 -08006.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)