mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
2ca456a8ae
Summary: make-generic is some sort of internal undocumented thing. make-local is what is supposed to be used for this stuff. Also use $(RM) instead of "rm -f". Reviewed By: marc Test Plan: make clean git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665498 13f79535-47bb-0310-9956-ffa450edef68
26 lines
407 B
Makefile
26 lines
407 B
Makefile
# Makefile for Thrift test project.
|
|
#
|
|
# Author:
|
|
# Mark Slee <mcslee@facebook.com>
|
|
|
|
# Default target is everything
|
|
target: all
|
|
|
|
# Tools
|
|
THRIFT = ../../compiler/cpp/thrift
|
|
|
|
all: normal inline
|
|
|
|
normal: stubs
|
|
|
|
inline: stubs-inline
|
|
|
|
stubs: ../ThriftTest.thrift
|
|
$(THRIFT) --phpl ../ThriftTest.thrift
|
|
|
|
stubs-inline: ../ThriftTest.thrift
|
|
$(THRIFT) --phpi ../ThriftTest.thrift
|
|
|
|
clean:
|
|
$(RM) -r gen-php gen-phpi
|