diff options
author | Jon Skeet <skeet@pobox.com> | 2008-10-22 13:18:49 +0100 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2008-10-22 13:18:49 +0100 |
commit | f0589506c96600dcd01319b9d1929d87505f3daa (patch) | |
tree | 945bc56e2e2da748271acc8e80deb7ca22aaaf54 /examples/Makefile | |
parent | e60ce8bfafca616ed4fd430ae4f82360de165e80 (diff) | |
download | protobuf-f0589506c96600dcd01319b9d1929d87505f3daa.tar.gz protobuf-f0589506c96600dcd01319b9d1929d87505f3daa.tar.bz2 protobuf-f0589506c96600dcd01319b9d1929d87505f3daa.zip |
Wiping slate clean to start again with new layout.
Diffstat (limited to 'examples/Makefile')
-rw-r--r-- | examples/Makefile | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/examples/Makefile b/examples/Makefile deleted file mode 100644 index 999ee94a..00000000 --- a/examples/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -# See README.txt. - -.PHONY: all cpp java python clean - -all: cpp java python - -cpp: add_person_cpp list_people_cpp -java: add_person_java list_people_java -python: add_person_python list_people_python - -clean: - rm -f add_person_cpp list_people_cpp add_person_java list_people_java add_person_python list_people_python - rm -f javac_middleman AddPerson*.class ListPeople*.class com/example/tutorial/*.class - rm -f protoc_middleman addressbook.pb.cc addressbook.pb.h addressbook_pb2.py com/example/tutorial/AddressBookProtos.java - rm -f *.pyc - rmdir com/example/tutorial 2>/dev/null || true - rmdir com/example 2>/dev/null || true - rmdir com 2>/dev/null || true - -protoc_middleman: addressbook.proto - protoc --cpp_out=. --java_out=. --python_out=. 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 - -list_people_cpp: list_people.cc protoc_middleman - c++ list_people.cc addressbook.pb.cc -lprotobuf -o list_people_cpp - -javac_middleman: AddPerson.java ListPeople.java protoc_middleman - javac AddPerson.java ListPeople.java com/example/tutorial/AddressBookProtos.java - @touch javac_middleman - -add_person_java: javac_middleman - @echo "Writing shortcut script add_person_java..." - @echo '#! /bin/sh' > add_person_java - @echo 'java -classpath .:$$CLASSPATH AddPerson "$$@"' >> add_person_java - @chmod +x add_person_java - -list_people_java: javac_middleman - @echo "Writing shortcut script list_people_java..." - @echo '#! /bin/sh' > list_people_java - @echo 'java -classpath .:$$CLASSPATH ListPeople "$$@"' >> list_people_java - @chmod +x list_people_java - -add_person_python: add_person.py protoc_middleman - @echo "Writing shortcut script add_person_python..." - @echo '#! /bin/sh' > add_person_python - @echo './add_person.py "$$@"' >> add_person_python - @chmod +x add_person_python - -list_people_python: list_people.py protoc_middleman - @echo "Writing shortcut script list_people_python..." - @echo '#! /bin/sh' > list_people_python - @echo './list_people.py "$$@"' >> list_people_python - @chmod +x list_people_python |