diff --git a/sds/Makefile b/sds/Makefile index 7e299de..af56669 100644 --- a/sds/Makefile +++ b/sds/Makefile @@ -13,10 +13,10 @@ prepare: @echo "Cloning nim-sds repository..." @if [ ! -d "../third_party/nim-sds" ]; then \ cd ../third_party/ && \ - git clone https://github.com/waku-org/nim-sds && \ - cd nim-sds && \ - git checkout add-android-support; \ - make update; \ + git clone https://github.com/waku-org/nim-sds && \ + cd nim-sds && \ + git checkout add-android-support; \ + make update; \ else \ echo "nim-sds repository already exists."; \ fi @@ -24,13 +24,13 @@ prepare: # Build SDS Go Bindings build: prepare @echo "Building libsds..." - @cd $(NIM_SDS_DIR) && make libsds + @cd ../third_party/nim-sds && make libsds @echo "Building SDS Go Bindings..." go build ./... build-android: prepare @echo "Building libsds for Android..." - @cd $(NIM_SDS_DIR) && make libsds-android + @cd ../third_party/nim-sds && make libsds-android @echo "Building SDS Go Bindings for Android..." go build ./...