summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc/mrbgems/c_and_ruby_extension_example/Makefile2
-rw-r--r--doc/mrbgems/c_extension_example/Makefile2
-rw-r--r--doc/mrbgems/ruby_extension_example/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/mrbgems/c_and_ruby_extension_example/Makefile b/doc/mrbgems/c_and_ruby_extension_example/Makefile
index 0f562584e..57912a936 100644
--- a/doc/mrbgems/c_and_ruby_extension_example/Makefile
+++ b/doc/mrbgems/c_and_ruby_extension_example/Makefile
@@ -1,6 +1,6 @@
GEM := c_and_ruby_extension_example
-include ../../Makefile4gem
+include $(MAKEFILE_4_GEM)
GEM_C_FILES := $(wildcard $(SRC_DIR)/*.c)
GEM_OBJECTS := $(patsubst %.c, %.o, $(GEM_C_FILES))
diff --git a/doc/mrbgems/c_extension_example/Makefile b/doc/mrbgems/c_extension_example/Makefile
index 4f78a0222..339669970 100644
--- a/doc/mrbgems/c_extension_example/Makefile
+++ b/doc/mrbgems/c_extension_example/Makefile
@@ -1,6 +1,6 @@
GEM := c_extension_example
-include ../../Makefile4gem
+include $(MAKEFILE_4_GEM)
GEM_C_FILES := $(wildcard $(SRC_DIR)/*.c)
GEM_OBJECTS := $(patsubst %.c, %.o, $(GEM_C_FILES))
diff --git a/doc/mrbgems/ruby_extension_example/Makefile b/doc/mrbgems/ruby_extension_example/Makefile
index 50c99829e..9c5026744 100644
--- a/doc/mrbgems/ruby_extension_example/Makefile
+++ b/doc/mrbgems/ruby_extension_example/Makefile
@@ -1,6 +1,6 @@
GEM := ruby_extension_example
-include ../../Makefile4gem
+include $(MAKEFILE_4_GEM)
GEM_RB_FILES := $(wildcard $(MRB_DIR)/*.rb)