diff --git a/Makefile b/Makefile index 8cd327b..e13ab57 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,6 @@ ifeq "$(SDK_REQUIRED_MAJOR_VER)" "$(word 1, $(sort $(SDK_REQUIRED_MAJOR_VER) $(X endif all: - echo $(VERSION) swiftc watchid-pam-extension.swift $(DEFINES) -o $(LIBRARY_PREFIX)_x86_64.so -target x86_64-$(TARGET) -emit-library swiftc watchid-pam-extension.swift $(DEFINES) -o $(LIBRARY_PREFIX)_arm64.so -target arm64-$(TARGET) -emit-library lipo -create $(LIBRARY_PREFIX)_arm64.so $(LIBRARY_PREFIX)_x86_64.so -output $(LIBRARY_NAME) diff --git a/install.sh b/install.sh index 3557b1c..bca6eeb 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ ( cd /tmp/ && \ git clone https://github.com/Logicer16/pam-watchid.git && \ -cd "$(basename "$_" .git)" && CLONE_SUCCESS="true" && \ +cd "$(basename "$_" .git)" && CLONE_SUCCESS="true" && \ make $1 # cleanup [[ "$CLONE_SUCCESS" == "true" ]] && TMP=`pwd -P` && cd "`dirname $TMP`" && rm -rf "./`basename $TMP`" && unset TMP