From 54f68b6a8a0bd5eb0998e75febdaed37197eb934 Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Thu, 15 Jan 2015 15:38:07 -0800 Subject: [PATCH] Fixing typos in build.json: .cpp -> .cc This was working so far because of GNU make's magic that automatically finds the sources depending on its output, and not on its input. This also explains why running "make" would always rebuild the plugins: because GNU make think some dependencies are phony and aren't there. --- Makefile | 8 ++++---- build.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index b43cb734ba5..85201c0eb67 100644 --- a/Makefile +++ b/Makefile @@ -2654,8 +2654,8 @@ endif CPP_PLUGIN_SRC = \ - src/compiler/cpp_plugin.cpp \ - src/compiler/cpp_generator.cpp \ + src/compiler/cpp_plugin.cc \ + src/compiler/cpp_generator.cc \ CPP_PLUGIN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CPP_PLUGIN_SRC)))) @@ -2675,8 +2675,8 @@ endif RUBY_PLUGIN_SRC = \ - src/compiler/ruby_plugin.cpp \ - src/compiler/ruby_generator.cpp \ + src/compiler/ruby_plugin.cc \ + src/compiler/ruby_generator.cc \ RUBY_PLUGIN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(RUBY_PLUGIN_SRC)))) diff --git a/build.json b/build.json index 8dfd5c4f977..1e465404a57 100644 --- a/build.json +++ b/build.json @@ -422,8 +422,8 @@ "c++": true, "secure": false, "src": [ - "src/compiler/cpp_plugin.cpp", - "src/compiler/cpp_generator.cpp" + "src/compiler/cpp_plugin.cc", + "src/compiler/cpp_generator.cc" ], "headers": [ "src/compiler/cpp_generator.h", @@ -437,8 +437,8 @@ "c++": true, "secure": false, "src": [ - "src/compiler/ruby_plugin.cpp", - "src/compiler/ruby_generator.cpp" + "src/compiler/ruby_plugin.cc", + "src/compiler/ruby_generator.cc" ], "headers": [ "src/compiler/cpp_generator.h",