summaryrefslogtreecommitdiffhomepage
path: root/doc/mrbgems/c_extension_example/Makefile
diff options
context:
space:
mode:
authorYuichiro MASUI <[email protected]>2012-12-22 01:38:06 +0900
committerYuichiro MASUI <[email protected]>2012-12-22 01:38:06 +0900
commitdee0b2283c180c4e2584ff27dcb241a80fb7cfc2 (patch)
tree9e1a6e1f1c3cf399aa51ce88d328a24fe62bb227 /doc/mrbgems/c_extension_example/Makefile
parent429359819a9a3155984c134f62976a42d314244c (diff)
downloadmruby-dee0b2283c180c4e2584ff27dcb241a80fb7cfc2.tar.gz
mruby-dee0b2283c180c4e2584ff27dcb241a80fb7cfc2.zip
Add MRUBY_CFLAGS / MRUBY_LDFLAGS to mrbgems
Diffstat (limited to 'doc/mrbgems/c_extension_example/Makefile')
-rw-r--r--doc/mrbgems/c_extension_example/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/mrbgems/c_extension_example/Makefile b/doc/mrbgems/c_extension_example/Makefile
index 339669970..556b12d55 100644
--- a/doc/mrbgems/c_extension_example/Makefile
+++ b/doc/mrbgems/c_extension_example/Makefile
@@ -5,6 +5,11 @@ include $(MAKEFILE_4_GEM)
GEM_C_FILES := $(wildcard $(SRC_DIR)/*.c)
GEM_OBJECTS := $(patsubst %.c, %.o, $(GEM_C_FILES))
+MRUBY_CFLAGS :=
+MRUBY_LDFLAGS :=
+
gem-all : $(GEM_OBJECTS) gem-c-files
gem-clean : gem-clean-c-files
+
+gem-test : gem-test-c-files