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 | |||||
Kevin Clark | 720b573 | 2008-06-18 00:51:25 +0000 | [diff] [blame] | 12 | all: stubs check |
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 |
Kevin Clark | 18cb21a | 2008-06-18 00:48:56 +0000 | [diff] [blame] | 15 | $(THRIFT) --gen rb ../ThriftTest.thrift |
16 | $(THRIFT) --gen rb ../SmallTest.thrift | ||||
Mark Slee | 89f5716 | 2008-01-10 00:53:08 +0000 | [diff] [blame] | 17 | |
Kevin Clark | 720b573 | 2008-06-18 00:51:25 +0000 | [diff] [blame] | 18 | check: stubs |
Kevin Clark | 28580f4 | 2008-06-18 00:49:17 +0000 | [diff] [blame] | 19 | ruby test_suite.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 |