summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/Makefile
blob: 0e5340742620bc332df4ad49737fac072738d338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Makefile for net selftests

CFLAGS = -Wall -O2 -g

CFLAGS += -I../../../../usr/include/

NET_PROGS = socket psock_fanout psock_tpacket reuseport_bpf reuseport_bpf_cpu reuseport_dualstack

all: $(NET_PROGS)
%: %.c
	$(CC) $(CFLAGS) -o $@ $^

TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh
TEST_FILES := $(NET_PROGS)

include ../lib.mk

clean:
	$(RM) $(NET_PROGS)