summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ruby/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/ruby/Makefile b/ruby/Makefile
index 0eef1518ef..9cac3207c0 100644
--- a/ruby/Makefile
+++ b/ruby/Makefile
@@ -24,7 +24,7 @@ SPEC_CACHE_SCRIPT = sc.rb
.PHONY: spec_cache all clean distclean
-all : $(SASL_MODULE) spec_cache
+all : build
$(SASL_MODULE) : $(SASL_DIR)/sasl.c
cd $(SASL_DIR); ruby extconf.rb
@@ -36,6 +36,8 @@ spec_cache :
ruby -I $(RUBY_LIB) -I $(SASL_DIR) $(SPEC_CACHE_SCRIPT)
rm $(SPEC_CACHE_SCRIPT)
+build: $(SASL_MODULE) spec_cache
+
clean:
cd $(SASL_DIR); make clean