blob: 48394b2d1ac2498feead07fd41ea1f4bd4a886b8 [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
Aditya Agarwal68db1662006-09-06 00:18:29 +000010THRIFT = ../../compiler/cpp/bin/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
Mark Sleed3d733a2006-09-01 22:19:06 +000019 $(THRIFT) --php ../ThriftTest.thrift
20
21stubs-inline: ../ThriftTest.thrift
22 $(THRIFT) --phpi ../ThriftTest.thrift
Mark Slee6e536442006-06-30 18:28:50 +000023
24clean:
Mark Sleed3d733a2006-09-01 22:19:06 +000025 rm -fr gen-php gen-phpi