-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
18 lines (13 loc) · 914 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include depends.mk
makeproto: file.pb.cc status_code.pb.cc nameserver.pb.cc chunkserver.pb.cc block.pb.cc
echo "OK"
file.pb.cc: src/proto/file.proto
$(PROTOC) --proto_path=./src/proto/ --proto_path=/usr/local/include --cpp_out=./src/proto/ src/proto/file.proto
status_code.pb.cc: src/proto/status_code.proto
$(PROTOC) --proto_path=./src/proto/ --proto_path=/usr/local/include --cpp_out=./src/proto/ src/proto/status_code.proto
nameserver.pb.cc: src/proto/nameserver.proto
$(PROTOC) --proto_path=./src/proto/ --proto_path=/usr/local/include --cpp_out=./src/proto/ src/proto/nameserver.proto
chunkserver.pb.cc: src/proto/chunkserver.proto
$(PROTOC) --proto_path=./src/proto/ --proto_path=/usr/local/include --cpp_out=./src/proto/ src/proto/chunkserver.proto
block.pb.cc: src/proto/block.proto
$(PROTOC) --proto_path=./src/proto/ --proto_path=/usr/local/include --cpp_out=./src/proto/ src/proto/block.proto