1 # Makefile for net-socket selftests
3 CC = $(CROSS_COMPILE)gcc
6 CFLAGS += -I../../../../usr/include/
8 AF_PACKET_PROGS = psock_fanout
10 all: $(AF_PACKET_PROGS)
12 $(CC) $(CFLAGS) -o $@ $^
15 @/bin/sh ./run_afpackettests || echo "afpackettests: [FAIL]"
18 $(RM) $(AF_PACKET_PROGS)