Update test/Makefile.am to use the new compiler command-line format.
Tested by running make check.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665519 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/Makefile.am b/test/Makefile.am
index f4dd05c..118d869 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -66,13 +66,13 @@
THRIFT = $(top_srcdir)/compiler/cpp/thrift
gen-cpp/DebugProtoTest_types.cpp gen-cpp/PartiallyReflectable.cpp: DebugProtoTest.thrift
- $(THRIFT) -cpp $<
+ $(THRIFT) --gen cpp $<
gen-cpp/OptionalRequiredTest_types.cpp: OptionalRequiredTest.thrift
- $(THRIFT) -cpp $<
+ $(THRIFT) --gen cpp $<
gen-cpp/Service.cpp gen-cpp/StressTest_types.cpp: StressTest.thrift
- $(THRIFT) -cpp $<
+ $(THRIFT) --gen cpp $<
INCLUDES = \