containerd/Makefile
Alexander Morozov 59a595c69f Add protoc target to makefile
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-11 12:08:02 -08:00

19 lines
408 B
Makefile

all:
mkdir -p bin/
cd containerd && go build -tags libcontainer -o ../bin/containerd
cd ctr && go build -o ../bin/ctr
client:
mkdir -p bin/
cd ctr && go build -o ../bin/ctr
daemon:
mkdir -p bin/
cd containerd && go build -tags libcontainer -o ../bin/containerd
install:
cp bin/* /usr/local/bin/
protoc:
protoc -I ./api/grpc/types ./api/grpc/types/api.proto --go_out=plugins=grpc:api/grpc/types