diff options
Diffstat (limited to 'doc')
| -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 |
