diff --git a/Makefile b/Makefile index 18675a2..9b6dda9 100644 --- a/Makefile +++ b/Makefile @@ -100,7 +100,8 @@ SUPERLIBS_LIB_AUTOGEN_FILES := $(addprefix $($(CURR_LIB)_DIR)/,$($(CURR_LIB)_AUT SUPERLIBS_LIB_AUTOGEN_STAMP := $(SUPERLIBS_LIB_STAMPS_DIR)/autogen.stamp SUPERLIBS_LIB_XCFRAMEWORK := $(OUTPUT_DIR)/$(CURR_LIB).xcframework -build-lib: $(SUPERLIBS_LIB_AUTOGEN_STAMP) $(SUPERLIBS_LIB_XCFRAMEWORK) +build-lib: $(SUPERLIBS_LIB_AUTOGEN_STAMP) + @+$(MAKE) $(SUPERLIBS_MAKEFLAGS) $(SUPERLIBS_LIB_XCFRAMEWORK) $(SUPERLIBS_LIB_AUTOGEN_STAMP): $(SUPERLIBS_LIB_AUTOGEN_FILES) @rm -rf $@.tmp @@ -187,7 +188,7 @@ export CFLAGS = $($(CURR_PLATFORM)_CFLAGS) $($(CURR_LIB)_CFLAGS) -fapplication-e export LDFLAGS = -fapplication-extension export PKG_CONFIG_PATH = $(SUPERLIBS_ARCH_PREFIX)/lib/pkgconfig -$(SUPERLIBS_ARCH_CONFIG_STAMP): $(SUPERLIBS_LIB_AUTOGEN_STAMP) +$(SUPERLIBS_ARCH_CONFIG_STAMP): $(SUPERLIBS_LIB_AUTOGEN_FILES) @rm -rf $@.tmp @mkdir -p $(dir $@) @touch $@.tmp