summaryrefslogtreecommitdiffstats
path: root/debian/vendor-h2o/deps/mruby-digest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'debian/vendor-h2o/deps/mruby-digest/Makefile')
-rw-r--r--debian/vendor-h2o/deps/mruby-digest/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/vendor-h2o/deps/mruby-digest/Makefile b/debian/vendor-h2o/deps/mruby-digest/Makefile
new file mode 100644
index 0000000..21f8afe
--- /dev/null
+++ b/debian/vendor-h2o/deps/mruby-digest/Makefile
@@ -0,0 +1,14 @@
+GEM := mruby-digest
+
+include $(MAKEFILE_4_GEM)
+
+GEM_C_FILES := $(wildcard $(SRC_DIR)/*.c)
+GEM_OBJECTS := $(patsubst %.c, %.o, $(GEM_C_FILES))
+
+GEM_RB_FILES := $(wildcard $(MRB_DIR)/*.rb)
+
+gem-all : $(GEM_OBJECTS) gem-c-and-rb-files
+
+gem-clean : gem-clean-c-and-rb-files
+
+gem-test : gem-test-c-and-rb-files