Browse Source

Add Makefile to build xcframework

Marcin Krzyzanowski 4 years ago
parent
commit
8b82e5c5f0
1 changed files with 9 additions and 0 deletions
  1. 9 0
      Makefile

+ 9 - 0
Makefile

@@ -0,0 +1,9 @@
+.PHONY: frameworks
+
+CWD := $(abspath $(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST))))))
+
+frameworks:
+	$(CWD)/scripts/build-framework.sh
+	@echo "Framework built in $(CWD)/CryptoSwift.xcframework"
+
+all: frameworks