summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDaniel Bovensiepen <[email protected]>2012-11-21 15:55:15 +0800
committerDaniel Bovensiepen <[email protected]>2012-11-21 15:55:15 +0800
commitbc26a482d880a1c89bd685d4745f71009686d544 (patch)
treed3c7a123bbf7916dc86c6161541511ed7efd6647
parent83fdc3d78e59e1c87ba8ba75445b65ff2f146ae3 (diff)
downloadmruby-bc26a482d880a1c89bd685d4745f71009686d544.tar.gz
mruby-bc26a482d880a1c89bd685d4745f71009686d544.zip
Modify C Extension
-rw-r--r--doc/mrbgems/c_extension_example/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/mrbgems/c_extension_example/Makefile b/doc/mrbgems/c_extension_example/Makefile
index b245e9696..615557aca 100644
--- a/doc/mrbgems/c_extension_example/Makefile
+++ b/doc/mrbgems/c_extension_example/Makefile
@@ -5,8 +5,6 @@ GEM := c_extension_example
GEM_C_FILES := $(wildcard $(SRC_DIR)/*.c)
GEM_OBJECTS := $(patsubst %.c, %.o, $(GEM_C_FILES))
-gem-all : $(GEM_OBJECTS)
- $(AR) rs $(LIBR) $<
+gem-all : $(GEM_OBJECTS) gem-c-files
-gem-clean :
- -$(RM) $(GEM_OBJECTS)
+gem-clean : gem-clean-c-files