mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-22 17:49:13 +00:00
...where they are missing. Signed-off-by: Kir Kolyshkin <kir@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
18 lines
355 B
Makefile
18 lines
355 B
Makefile
all: test-c rpc_pb2.py
|
|
.PHONY: all
|
|
|
|
test-c: rpc.pb-c.o test.o
|
|
gcc $^ -o $@ -lprotobuf-c
|
|
|
|
test.o: test.c
|
|
gcc -c $< -I ./
|
|
|
|
rpc_pb2.py: rpc.proto
|
|
protoc --proto_path=. --python_out=. rpc.proto
|
|
|
|
rpc.pb-c.c: rpc.proto
|
|
protoc-c --proto_path=. --c_out=. rpc.proto
|
|
|
|
clean:
|
|
rm -rf build rpc.pb-c.o test.o test-c rpc.pb-c.c rpc.pb-c.h rpc_pb2.py
|
|
.PHONY: clean
|