@@ -115,12 +115,9 @@ HOST_ARCH=$(shell uname -m)
115
115
all : $(OS_LIST )
116
116
117
117
.PHONY : \
118
- distclean update-patch \
119
- all $(PRODUCTS ) \
120
- clean $(foreach product,$(PRODUCTS ) ,clean-$(product ) ) \
121
- $(foreach os,$(OS_LIST ) ,Python-$(os ) ) \
122
- build/macOS/Support/libFFI.xcframework \
123
- vars $(foreach os,$(OS_LIST ) ,vars-$(os ) )
118
+ all clean distclean update-patch vars \
119
+ $(foreach product,$(PRODUCTS ) ,$(foreach os,$(OS_LIST ) ,$(product ) $(product ) -$(os ) clean-$(product ) ) ) \
120
+ $(foreach os,$(OS_LIST ) ,$(os ) vars-$(os ) )
124
121
125
122
# Clean all builds
126
123
clean :
@@ -464,7 +461,7 @@ $$(PYTHON_DIR-$(target))/Makefile: \
464
461
$$(XZ_XCFRAMEWORK-$(os ) ) \
465
462
$$(OPENSSL_XCFRAMEWORK-$(os ) ) \
466
463
$$(LIBFFI_XCFRAMEWORK-$(os ) ) \
467
- Python -macOS \
464
+ $$( PYTHON_XCFRAMEWORK -macOS) \
468
465
downloads/Python-$(PYTHON_VERSION ) .tgz
469
466
@echo " >>> Unpack and configure Python for $( target) "
470
467
mkdir -p $$(PYTHON_DIR-$(target ) )
@@ -743,7 +740,7 @@ ifneq ($(os),macOS)
743
740
LIBFFI_XCFRAMEWORK-$(os) =build/$(os ) /Support/libFFI.xcframework
744
741
LIBFFI_DIR-$(os) =build/$(os ) /libffi-$(LIBFFI_VERSION )
745
742
746
- $$(LIBFFI_DIR-$(os ) ) /darwin_common/include/ffi.h : downloads/libffi-$(LIBFFI_VERSION ) .tgz Python -macOS
743
+ $$(LIBFFI_DIR-$(os ) ) /darwin_common/include/ffi.h : downloads/libffi-$(LIBFFI_VERSION ) .tgz $$( PYTHON_XCFRAMEWORK -macOS)
747
744
@echo " >>> Unpack and configure libFFI sources on $( os) "
748
745
mkdir -p $$(LIBFFI_DIR-$(os ) )
749
746
tar zxf downloads/libffi-$(LIBFFI_VERSION ) .tgz --strip-components 1 -C $$(LIBFFI_DIR-$(os ) )
0 commit comments