aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net-socket/Makefile
blob: 2450fd8bb10ab95b8922cdea60c31eaf9148410e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Makefile for net-socket selftests

CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall

NET_SOCK_PROGS = socket

all: $(NET_SOCK_PROGS)
%: %.c
	$(CC) $(CFLAGS) -o $@ $^

run_tests: all
	@/bin/sh ./run_netsocktests || echo "sockettests: [FAIL]"

clean:
	$(RM) $(NET_SOCK_PROGS)