| Mark Slee | 6e53644 | 2006-06-30 18:28:50 +0000 | [diff] [blame] | 1 | # Makefile for Thrift test project. | 
|  | 2 | # | 
|  | 3 | # Author: | 
|  | 4 | #   Mark Slee <mcslee@facebook.com> | 
|  | 5 |  | 
|  | 6 | # Default target is everything | 
|  | 7 | target: all | 
|  | 8 |  | 
|  | 9 | # Tools | 
|  | 10 | THRIFT = thrift | 
|  | 11 |  | 
|  | 12 | # Compiler flags | 
|  | 13 | LIBS  = ../../lib/cpp/server/TSimpleServer.cc \ | 
|  | 14 | ../../lib/cpp/protocol/TBinaryProtocol.cc \ | 
|  | 15 | ../../lib/cpp/transport/TBufferedTransport.cc \ | 
|  | 16 | ../../lib/cpp/transport/TServerSocket.cc \ | 
|  | 17 | ../../lib/cpp/transport/TSocket.cc | 
|  | 18 | CFL   = -Wall -O3 -Igen-cpp -I../../lib/cpp $(LIBS) | 
|  | 19 | CFL   = -Wall -O3 -Igen-cpp -I../../lib/cpp -lthrift | 
|  | 20 |  | 
|  | 21 | all: stubs | 
|  | 22 |  | 
|  | 23 | stubs: ../ThriftTest.thrift | 
|  | 24 | $(THRIFT) -php ../ThriftTest.thrift | 
|  | 25 |  | 
|  | 26 | clean: | 
|  | 27 | rm -fr gen-php |