2006-06-30 18:28:50 +00:00
|
|
|
# Makefile for Thrift test project.
|
2007-11-13 04:00:29 +00:00
|
|
|
#
|
2006-06-30 18:28:50 +00:00
|
|
|
# Author:
|
|
|
|
# Mark Slee <mcslee@facebook.com>
|
|
|
|
|
|
|
|
# Default target is everything
|
|
|
|
target: all
|
|
|
|
|
|
|
|
# Tools
|
2007-01-25 08:01:28 +00:00
|
|
|
THRIFT = ../../compiler/cpp/thrift
|
2006-06-30 18:28:50 +00:00
|
|
|
|
2006-09-01 22:19:06 +00:00
|
|
|
all: normal inline
|
2006-06-30 18:28:50 +00:00
|
|
|
|
2006-09-01 22:19:06 +00:00
|
|
|
normal: stubs
|
|
|
|
|
|
|
|
inline: stubs-inline
|
2006-06-30 18:28:50 +00:00
|
|
|
|
|
|
|
stubs: ../ThriftTest.thrift
|
2007-11-13 04:00:29 +00:00
|
|
|
$(THRIFT) --phpl ../ThriftTest.thrift
|
2006-09-01 22:19:06 +00:00
|
|
|
|
|
|
|
stubs-inline: ../ThriftTest.thrift
|
|
|
|
$(THRIFT) --phpi ../ThriftTest.thrift
|
2006-06-30 18:28:50 +00:00
|
|
|
|
|
|
|
clean:
|
2006-09-01 22:19:06 +00:00
|
|
|
rm -fr gen-php gen-phpi
|