blob: 6cc52333a1cdef9e846d7fe69e75bc40f7dadccd [file] [log] [blame]
# Makefile for Thrift test project.
#
# Author:
# Mark Slee <mcslee@facebook.com>
# Default target is everything
target: all
# Tools
THRIFT = ../../compiler/cpp/thrift
all: normal inline
normal: stubs
inline: stubs-inline
stubs: ../ThriftTest.thrift
$(THRIFT) --phpl ../ThriftTest.thrift
stubs-inline: ../ThriftTest.thrift
$(THRIFT) --phpi ../ThriftTest.thrift
clean:
rm -fr gen-php gen-phpi