net: Add socket() system call self test.
[linux-3.10.git] / tools / testing / selftests / net-socket / Makefile
1 # Makefile for net-socket selftests
2
3 CC = $(CROSS_COMPILE)gcc
4 CFLAGS = -Wall
5
6 NET_SOCK_PROGS = socket
7
8 all: $(NET_SOCK_PROGS)
9 %: %.c
10         $(CC) $(CFLAGS) -o $@ $^
11
12 run_tests: all
13         @/bin/sh ./run_netsocktests || echo "vmtests: [FAIL]"
14
15 clean:
16         $(RM) $(NET_SOCK_PROGS)