From 3d81ed3dc17e1112e9e47877946dea78a366a663 Mon Sep 17 00:00:00 2001 From: Daniel Bovensiepen Date: Fri, 23 Nov 2012 22:48:31 +0800 Subject: Improve examples with an absolute path to the mruby tree --- doc/mrbgems/c_and_ruby_extension_example/Makefile | 2 +- doc/mrbgems/c_extension_example/Makefile | 2 +- doc/mrbgems/ruby_extension_example/Makefile | 2 +- 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) -- cgit v1.2.3