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