Mark Slee | 6d7d595 | 2007-01-27 01:44:22 +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 |
| 10 | THRIFT = ../../compiler/cpp/thrift |
| 11 | |
Mark Slee | 89f5716 | 2008-01-10 00:53:08 +0000 | [diff] [blame] | 12 | all: stubs tests |
Mark Slee | 6d7d595 | 2007-01-27 01:44:22 +0000 | [diff] [blame] | 13 | |
Mark Slee | 89f5716 | 2008-01-10 00:53:08 +0000 | [diff] [blame] | 14 | stubs: ../ThriftTest.thrift ../SmallTest.thrift |
Mark Slee | 6d7d595 | 2007-01-27 01:44:22 +0000 | [diff] [blame] | 15 | $(THRIFT) --rb ../ThriftTest.thrift |
Mark Slee | 89f5716 | 2008-01-10 00:53:08 +0000 | [diff] [blame] | 16 | $(THRIFT) --rb ../SmallTest.thrift |
| 17 | |
| 18 | tests: stubs |
| 19 | ruby TestSuite.rb |
Mark Slee | 6d7d595 | 2007-01-27 01:44:22 +0000 | [diff] [blame] | 20 | |
| 21 | clean: |
| 22 | rm -fr gen-rb |