]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - tools/testing/selftests/net-afpacket/Makefile
net: fix psock_fanout selftest bind error message
[karo-tx-linux.git] / tools / testing / selftests / net-afpacket / Makefile
1 # Makefile for net-socket selftests
2
3 CC = $(CROSS_COMPILE)gcc
4 CFLAGS = -Wall
5
6 CFLAGS += -I../../../../usr/include/
7
8 AF_PACKET_PROGS = psock_fanout
9
10 all: $(AF_PACKET_PROGS)
11 %: %.c
12         $(CC) $(CFLAGS) -o $@ $^
13
14 run_tests: all
15         @/bin/sh ./run_afpackettests || echo "afpackettests: [FAIL]"
16
17 clean:
18         $(RM) $(AF_PACKET_PROGS)