aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/Makefile
diff options
context:
space:
mode:
authorGravatar kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2009-05-06 20:41:30 +0000
committerGravatar kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2009-05-06 20:41:30 +0000
commite21c5734ecf61c21aa8393a8fbfb55aed8d486d6 (patch)
treec5e99d1976ba335e208a72ae18668042ac6c659a /examples/Makefile
parent63e646b7ad6f18228c1807f8d18111ae96e86aa7 (diff)
Make sure examples link properly.
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 999ee94a..36d0280b 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -22,10 +22,10 @@ protoc_middleman: addressbook.proto
@touch protoc_middleman
add_person_cpp: add_person.cc protoc_middleman
- c++ add_person.cc addressbook.pb.cc -lprotobuf -o add_person_cpp
+ c++ add_person.cc addressbook.pb.cc -lprotobuf -lpthread -o add_person_cpp
list_people_cpp: list_people.cc protoc_middleman
- c++ list_people.cc addressbook.pb.cc -lprotobuf -o list_people_cpp
+ c++ list_people.cc addressbook.pb.cc -lprotobuf -lpthread -o list_people_cpp
javac_middleman: AddPerson.java ListPeople.java protoc_middleman
javac AddPerson.java ListPeople.java com/example/tutorial/AddressBookProtos.java