summaryrefslogtreecommitdiffhomepage
path: root/doc/mrbgems/ruby_extension_example
diff options
context:
space:
mode:
Diffstat (limited to 'doc/mrbgems/ruby_extension_example')
-rw-r--r--doc/mrbgems/ruby_extension_example/.gitignore7
-rw-r--r--doc/mrbgems/ruby_extension_example/Makefile5
2 files changed, 11 insertions, 1 deletions
diff --git a/doc/mrbgems/ruby_extension_example/.gitignore b/doc/mrbgems/ruby_extension_example/.gitignore
index 0e23b7ac6..186584eb0 100644
--- a/doc/mrbgems/ruby_extension_example/.gitignore
+++ b/doc/mrbgems/ruby_extension_example/.gitignore
@@ -1,3 +1,8 @@
-gem_mrblib.c
+# mrbgems
+*.tmp
*.ctmp
*.rbtmp
+gem_mixlib.c
+gem_mrblib.c
+gem_srclib.c
+
diff --git a/doc/mrbgems/ruby_extension_example/Makefile b/doc/mrbgems/ruby_extension_example/Makefile
index 9c5026744..903666267 100644
--- a/doc/mrbgems/ruby_extension_example/Makefile
+++ b/doc/mrbgems/ruby_extension_example/Makefile
@@ -4,6 +4,11 @@ include $(MAKEFILE_4_GEM)
GEM_RB_FILES := $(wildcard $(MRB_DIR)/*.rb)
+MRUBY_CFLAGS :=
+MRUBY_LDFLAGS :=
+
gem-all : gem-rb-files
gem-clean : gem-clean-rb-files
+
+gem-test : gem-test-rb-files