summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorDaniel Bovensiepen <[email protected]>2012-11-23 22:48:31 +0800
committerDaniel Bovensiepen <[email protected]>2012-11-23 22:48:31 +0800
commit3d81ed3dc17e1112e9e47877946dea78a366a663 (patch)
tree3bce6812903e2b6b38bdb25c98a204ee0af7c61e /doc
parentb7911ad18e437395c0ace808005e5b42ce329237 (diff)
downloadmruby-3d81ed3dc17e1112e9e47877946dea78a366a663.tar.gz
mruby-3d81ed3dc17e1112e9e47877946dea78a366a663.zip
Improve examples with an absolute path to the mruby tree
Diffstat (limited to 'doc')
-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)