diff options
| author | Daniel Bovensiepen <[email protected]> | 2012-11-21 15:55:15 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2012-11-21 15:55:15 +0800 |
| commit | bc26a482d880a1c89bd685d4745f71009686d544 (patch) | |
| tree | d3c7a123bbf7916dc86c6161541511ed7efd6647 | |
| parent | 83fdc3d78e59e1c87ba8ba75445b65ff2f146ae3 (diff) | |
| download | mruby-bc26a482d880a1c89bd685d4745f71009686d544.tar.gz mruby-bc26a482d880a1c89bd685d4745f71009686d544.zip | |
Modify C Extension
| -rw-r--r-- | doc/mrbgems/c_extension_example/Makefile | 6 |
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 |
