1# Makefile for net selftests 2 3CFLAGS = -Wall -O2 -g 4 5CFLAGS += -I../../../../usr/include/ 6 7NET_PROGS = socket psock_fanout psock_tpacket reuseport_bpf reuseport_bpf_cpu reuseport_dualstack 8 9all: $(NET_PROGS) 10%: %.c 11 $(CC) $(CFLAGS) -o $@ $^ 12 13TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh 14TEST_FILES := $(NET_PROGS) 15 16include ../lib.mk 17 18clean: 19 $(RM) $(NET_PROGS) 20