Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | # Makefile for net selftests |
2 | |||||
3 | CFLAGS = -Wall -O2 -g | ||||
4 | |||||
5 | CFLAGS += -I../../../../usr/include/ | ||||
6 | |||||
7 | NET_PROGS = socket psock_fanout psock_tpacket | ||||
8 | |||||
9 | all: $(NET_PROGS) | ||||
10 | %: %.c | ||||
11 | $(CC) $(CFLAGS) -o $@ $^ | ||||
12 | |||||
13 | TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh | ||||
14 | TEST_FILES := $(NET_PROGS) | ||||
15 | |||||
16 | include ../lib.mk | ||||
17 | |||||
18 | clean: | ||||
19 | $(RM) $(NET_PROGS) |