Skip to content

Commit fc889c9

Browse files
author
wintel2014
committed
Add comments for serialization
1 parent eaf3991 commit fc889c9

File tree

10 files changed

+794
-5
lines changed

10 files changed

+794
-5
lines changed

Network/thrift/serialization/Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
serialization_deserialization:serialization_deserialization.cpp
2-
g++ -g $^ gen-cpp/student_constants.cpp gen-cpp/student_types.cpp -I/usr/local/include/thrift/ -lthrift -o $@
1+
BIN = serialization_deserialization
2+
$(BIN):$(BIN).cpp gen-cpp
3+
g++ -g3 $< gen-cpp/student_constants.cpp gen-cpp/student_types.cpp -I/usr/local/include/thrift/ -lthrift -o $@
34

4-
gen_cpp_files:
5+
gen-cpp:
56
thrift -r --gen cpp student.thrift
7+
8+
clean:
9+
rm -rf gen-cpp $(BIN)

Network/thrift/serialization/gen-cpp/Serv.cpp

Lines changed: 274 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)