From d6f2f55b46ceddd986e7ba42fb8269aef0ca8e77 Mon Sep 17 00:00:00 2001 From: Daniel Bovensiepen Date: Fri, 21 Sep 2012 19:56:28 +0800 Subject: Add Support for Ruby Extensions, C Extensions and Test Integration --- mrbgems/g/clib_example/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mrbgems/g/clib_example/Makefile (limited to 'mrbgems/g/clib_example/Makefile') diff --git a/mrbgems/g/clib_example/Makefile b/mrbgems/g/clib_example/Makefile new file mode 100644 index 000000000..2cd523905 --- /dev/null +++ b/mrbgems/g/clib_example/Makefile @@ -0,0 +1,12 @@ +include ../../Makefile4gem + +GEM := clib_example + +GEM_C_FILES := $(wildcard $(SRC_DIR)/*.c) +GEM_OBJECTS := $(patsubst %.c, %.o, $(GEM_C_FILES)) + +gem-all : $(GEM_OBJECTS) + $(AR) rs $(LIBR) $< + +gem-clean : + -$(RM) $(GEM_OBJECTS) -- cgit v1.2.3