summaryrefslogtreecommitdiffhomepage
path: root/doc/mrbgems/ruby_extension_example
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-12-21 08:57:08 -0800
committerYukihiro "Matz" Matsumoto <[email protected]>2012-12-21 08:57:08 -0800
commita30c7fa73082d1e17bdd3adf87afd40e09640ef8 (patch)
tree9e1a6e1f1c3cf399aa51ce88d328a24fe62bb227 /doc/mrbgems/ruby_extension_example
parent429359819a9a3155984c134f62976a42d314244c (diff)
parentdee0b2283c180c4e2584ff27dcb241a80fb7cfc2 (diff)
downloadmruby-a30c7fa73082d1e17bdd3adf87afd40e09640ef8.tar.gz
mruby-a30c7fa73082d1e17bdd3adf87afd40e09640ef8.zip
Merge pull request #665 from masuidrive/add_mruby_cflags_in_mrbgems
Add MRUBY_CFLAGS / MRUBY_LDFLAGS to mrbgems
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