Mark Slee | 6e53644 | 2006-06-30 18:28:50 +0000 | [diff] [blame] | 1 | # Makefile for Thrift test project. |
2 | # | ||||
3 | # Author: | ||||
4 | # Mark Slee <mcslee@facebook.com> | ||||
5 | |||||
6 | # Default target is everything | ||||
7 | target: all | ||||
8 | |||||
9 | # Tools | ||||
Mark Slee | 6f5e2cb | 2007-01-25 08:01:28 +0000 | [diff] [blame] | 10 | THRIFT = ../../compiler/cpp/thrift |
Mark Slee | 6e53644 | 2006-06-30 18:28:50 +0000 | [diff] [blame] | 11 | |
Mark Slee | d3d733a | 2006-09-01 22:19:06 +0000 | [diff] [blame] | 12 | all: normal inline |
Mark Slee | 6e53644 | 2006-06-30 18:28:50 +0000 | [diff] [blame] | 13 | |
Mark Slee | d3d733a | 2006-09-01 22:19:06 +0000 | [diff] [blame] | 14 | normal: stubs |
15 | |||||
16 | inline: stubs-inline | ||||
Mark Slee | 6e53644 | 2006-06-30 18:28:50 +0000 | [diff] [blame] | 17 | |
18 | stubs: ../ThriftTest.thrift | ||||
Mark Slee | d3d733a | 2006-09-01 22:19:06 +0000 | [diff] [blame] | 19 | $(THRIFT) --php ../ThriftTest.thrift |
20 | |||||
21 | stubs-inline: ../ThriftTest.thrift | ||||
22 | $(THRIFT) --phpi ../ThriftTest.thrift | ||||
Mark Slee | 6e53644 | 2006-06-30 18:28:50 +0000 | [diff] [blame] | 23 | |
24 | clean: | ||||
Mark Slee | d3d733a | 2006-09-01 22:19:06 +0000 | [diff] [blame] | 25 | rm -fr gen-php gen-phpi |