1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fiddle: depend rules

* ext/fiddle/depend: mark PHONY targets, and workaround of
  unexpected DEPEND_RULES on mswin.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-12-24 06:58:34 +00:00
parent a64443987c
commit 0a841035df

View file

@ -15,8 +15,18 @@ $(STATIC_LIB) $(RUBYARCHDIR)/$(DLLIB) $(DLLIB): $(LIBFFI_A)
$(OBJS): $(FFI_H)
.PHONY: .FORCE hdr
.FORCE:
hdr: $(FFI_H)
configure-libffi $(FFI_H):
configure-libffi build-libffi: .FORCE
configure-libffi \
$(LIBFFI_DIR)/include/ffi.h \
$(LIBFFI_DIR)/include/ffitarget.h \
$(LIBFFI_DIR)/fficonfig.h \
$(LIBFFI_DIR)/Makefile:
$(Q) $(MAKEDIRS) $(LIBFFI_DIR)
$(Q) $(CONFIGURE_LIBFFI)
@ -35,10 +45,11 @@ distclean-libffi:
realclean-libffi:
$(Q) $(RMALL) $(LIBFFI_DIR)
clean-none distclean-none realclean-none:
.PHONY clean-libffi distclean-libffi realclean-libffi: .FORCE
.PHONY clean-none distclean-none realclean-none: .FORCE
clean: clean-$(LIBFFI_CLEAN)
distclean: distclean-$(LIBFFI_CLEAN)
realclean: realclean-$(LIBFFI_CLEAN)
configure: configure-libffi
.PHONY configure: configure-libffi