blob: ed0f91b5a851955b129309b5d380e0b207ff8669 [file] [log] [blame]
Mark Slee6d7d5952007-01-27 01:44:22 +00001# Makefile for Thrift test project.
David Reiss0c90f6f2008-02-06 22:18:40 +00002#
Mark Slee6d7d5952007-01-27 01:44:22 +00003# Author:
4# Mark Slee <mcslee@facebook.com>
5
6# Default target is everything
7target: all
8
9# Tools
10THRIFT = ../../compiler/cpp/thrift
11
Mark Slee89f57162008-01-10 00:53:08 +000012all: stubs tests
Mark Slee6d7d5952007-01-27 01:44:22 +000013
Mark Slee89f57162008-01-10 00:53:08 +000014stubs: ../ThriftTest.thrift ../SmallTest.thrift
Kevin Clark18cb21a2008-06-18 00:48:56 +000015 $(THRIFT) --gen rb ../ThriftTest.thrift
16 $(THRIFT) --gen rb ../SmallTest.thrift
Mark Slee89f57162008-01-10 00:53:08 +000017
18tests: stubs
19 ruby TestSuite.rb
Mark Slee6d7d5952007-01-27 01:44:22 +000020
21clean:
David Reiss2ca456a2008-02-24 16:42:18 +000022 $(RM) -r gen-rb