diff options
| author | Yuichiro MASUI <[email protected]> | 2012-12-22 01:38:06 +0900 |
|---|---|---|
| committer | Yuichiro MASUI <[email protected]> | 2012-12-22 01:38:06 +0900 |
| commit | dee0b2283c180c4e2584ff27dcb241a80fb7cfc2 (patch) | |
| tree | 9e1a6e1f1c3cf399aa51ce88d328a24fe62bb227 /doc/mrbgems/c_and_ruby_extension_example | |
| parent | 429359819a9a3155984c134f62976a42d314244c (diff) | |
| download | mruby-dee0b2283c180c4e2584ff27dcb241a80fb7cfc2.tar.gz mruby-dee0b2283c180c4e2584ff27dcb241a80fb7cfc2.zip | |
Add MRUBY_CFLAGS / MRUBY_LDFLAGS to mrbgems
Diffstat (limited to 'doc/mrbgems/c_and_ruby_extension_example')
| -rw-r--r-- | doc/mrbgems/c_and_ruby_extension_example/.gitignore | 7 | ||||
| -rw-r--r-- | doc/mrbgems/c_and_ruby_extension_example/Makefile | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/doc/mrbgems/c_and_ruby_extension_example/.gitignore b/doc/mrbgems/c_and_ruby_extension_example/.gitignore index e6ad3b5cf..186584eb0 100644 --- a/doc/mrbgems/c_and_ruby_extension_example/.gitignore +++ b/doc/mrbgems/c_and_ruby_extension_example/.gitignore @@ -1,3 +1,8 @@ -gem_mixlib.c +# mrbgems +*.tmp *.ctmp *.rbtmp +gem_mixlib.c +gem_mrblib.c +gem_srclib.c + diff --git a/doc/mrbgems/c_and_ruby_extension_example/Makefile b/doc/mrbgems/c_and_ruby_extension_example/Makefile index 57912a936..ba89e4ba4 100644 --- a/doc/mrbgems/c_and_ruby_extension_example/Makefile +++ b/doc/mrbgems/c_and_ruby_extension_example/Makefile @@ -7,6 +7,11 @@ GEM_OBJECTS := $(patsubst %.c, %.o, $(GEM_C_FILES)) GEM_RB_FILES := $(wildcard $(MRB_DIR)/*.rb) +MRUBY_CFLAGS := +MRUBY_LDFLAGS := + gem-all : $(GEM_OBJECTS) gem-c-and-rb-files gem-clean : gem-clean-c-and-rb-files + +gem-test : gem-test-c-and-rb-files |
