Commit bc26a482 authored by Daniel Bovensiepen's avatar Daniel Bovensiepen

Modify C Extension

parent 83fdc3d7
...@@ -5,8 +5,6 @@ GEM := c_extension_example ...@@ -5,8 +5,6 @@ GEM := c_extension_example
GEM_C_FILES := $(wildcard $(SRC_DIR)/*.c) GEM_C_FILES := $(wildcard $(SRC_DIR)/*.c)
GEM_OBJECTS := $(patsubst %.c, %.o, $(GEM_C_FILES)) GEM_OBJECTS := $(patsubst %.c, %.o, $(GEM_C_FILES))
gem-all : $(GEM_OBJECTS) gem-all : $(GEM_OBJECTS) gem-c-files
$(AR) rs $(LIBR) $<
gem-clean : gem-clean : gem-clean-c-files
-$(RM) $(GEM_OBJECTS)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment