From e21c5734ecf61c21aa8393a8fbfb55aed8d486d6 Mon Sep 17 00:00:00 2001 From: "kenton@google.com" Date: Wed, 6 May 2009 20:41:30 +0000 Subject: Make sure examples link properly. --- examples/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/Makefile') 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 -- cgit v1.2.3