Files
linuxkit/alpine/packages/nc-vsock/Makefile
Rolf Neugebauer 0b15664c5d nc-vsock: Add support for Hyper-V sockets
Also tidy up some of the coding style to be more Linux kernel style
which most of the code already was.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-04-21 14:02:13 +01:00

16 lines
311 B
Makefile

.PHONY: all
DEPS=nc-vsock.c
all: Dockerfile $(DEPS)
docker build -t nc-vsock:build .
docker run --rm nc-vsock:build cat nc-vsock > nc-vsock
chmod 755 nc-vsock
nc-vsock: $(DEPS)
gcc -Wall -Werror -o nc-vsock nc-vsock.c -luuid
clean:
rm -f nc-vsock
docker images -q nc-vsock:build | xargs docker rmi -f