blob: 2e6bec52bf912e88688487797bed317d793df446 [file] [log] [blame]
Mark Slee6e536442006-06-30 18:28:50 +00001# Makefile for Thrift test project.
2#
3# Author:
4# Mark Slee <mcslee@facebook.com>
5
6# Default target is everything
7target: all
8
9# Tools
10THRIFT = thrift
11
12# Compiler flags
13LIBS = ../../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
18CFL = -Wall -O3 -Igen-cpp -I../../lib/cpp $(LIBS)
19CFL = -Wall -O3 -Igen-cpp -I../../lib/cpp -lthrift
20
21all: stubs
22
23stubs: ../ThriftTest.thrift
24 $(THRIFT) -php ../ThriftTest.thrift
25
26clean:
27 rm -fr gen-php