19 lines · 379 B · Makefile
RawDownload
# Makefile for net selftests CC = $(CROSS_COMPILE)gccCFLAGS = -Wall -O2 -g CFLAGS += -I../../../../usr/include/ NET_PROGS = socket psock_fanout psock_tpacket all: $(NET_PROGS)%: %.c	$(CC) $(CFLAGS) -o $@ $^ run_tests: all	@/bin/sh ./run_netsocktests || echo "sockettests: [FAIL]"	@/bin/sh ./run_afpackettests || echo "afpackettests: [FAIL]" clean:	$(RM) $(NET_PROGS)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t