blob: d48fb85b9360bf8bceb67be146aaaba4cc79db3f [file] [log] [blame]
Mark Slee6e536442006-06-30 18:28:50 +00001# Makefile for Thrift test project.
Mark Slee5b743072007-11-13 04:00:29 +00002#
Mark Slee6e536442006-06-30 18:28:50 +00003# Author:
4# Mark Slee <mcslee@facebook.com>
5
6# Default target is everything
7target: all
8
9# Tools
Mark Slee6f5e2cb2007-01-25 08:01:28 +000010THRIFT = ../../compiler/cpp/thrift
Mark Slee6e536442006-06-30 18:28:50 +000011
Mark Sleed3d733a2006-09-01 22:19:06 +000012all: normal inline
Mark Slee6e536442006-06-30 18:28:50 +000013
Mark Sleed3d733a2006-09-01 22:19:06 +000014normal: stubs
15
16inline: stubs-inline
Mark Slee6e536442006-06-30 18:28:50 +000017
18stubs: ../ThriftTest.thrift
David Reissb139f642009-02-17 20:28:46 +000019 $(THRIFT) --gen php ../ThriftTest.thrift
Mark Sleed3d733a2006-09-01 22:19:06 +000020
21stubs-inline: ../ThriftTest.thrift
David Reissb139f642009-02-17 20:28:46 +000022 $(THRIFT) --gen php:inlined ../ThriftTest.thrift
Mark Slee6e536442006-06-30 18:28:50 +000023
24clean:
David Reiss2ca456a2008-02-24 16:42:18 +000025 $(RM) -r gen-php gen-phpi