summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/fiddle/depend11
1 files changed, 3 insertions, 8 deletions
diff --git a/ext/fiddle/depend b/ext/fiddle/depend
index 7e00a6e..c406b29 100644
--- a/ext/fiddle/depend
+++ b/ext/fiddle/depend
@@ -25,30 +25,25 @@ $(LIBFFI_DIR)/Makefile:
$(Q) $(MAKEDIRS) $(LIBFFI_DIR)
$(Q) $(CONFIGURE_LIBFFI)
-build-libffi: $(LIBFFI_A)
-$(LIBFFI_A):
+build-libffi $(LIBFFI_A):
$(Q) $(SUBMAKE_PRE) $(MAKE) $(SUBMAKE_ARG)
clean-none:
clean-libffi:
-libffi/clean: libffi/clean
$(Q) $(SUBMAKE_PRE) $(MAKE) $(SUBMAKE_ARG) clean
distclean-none:
-distclean-libffi: libffi/distclean
-libffi/distclean:
+distclean-libffi:
$(Q) $(SUBMAKE_PRE) $(MAKE) $(SUBMAKE_ARG) distclean
$(Q) $(RM) $(LIBFFI_DIR)/local.exp
$(Q) $(RUBY) -rfileutils -e "FileUtils.rmdir(Dir.glob(ARGV[0]+'/**/{,.*/}'), :parents=>true)" $(LIBFFI_DIR)
realclean-none:
-realclean-libffi: libffi/realclean
-libffi/realclean:
+realclean-libffi:
$(Q) $(RMALL) $(LIBFFI_DIR)
.PHONY: clean-libffi distclean-libffi realclean-libffi
.PHONY: clean-none distclean-none realclean-none
-.PHONY: libffi/clean libffi/distclean libffi/realclean
clean: clean-$(LIBFFI_CLEAN)
distclean: distclean-$(LIBFFI_CLEAN)