Mark Slee | 6d7d595 | 2007-01-27 01:44:22 +0000 | [diff] [blame] | 1 | # Makefile for Thrift test project. |
David Reiss | 0c90f6f | 2008-02-06 22:18:40 +0000 | [diff] [blame] | 2 | # |
Mark Slee | 6d7d595 | 2007-01-27 01:44:22 +0000 | [diff] [blame] | 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: | ||||
David Reiss | 2ca456a | 2008-02-24 16:42:18 +0000 | [diff] [blame] | 22 | $(RM) -r gen-rb |