diff --git a/Makefile b/Makefile index 48d8f6767..96bbd95bd 100644 --- a/Makefile +++ b/Makefile @@ -204,10 +204,10 @@ libnimbus.so: | build deps nat-libs ln -s $@.0 build/$@ wrappers: | build deps nat-libs libnimbus.so go-checks - echo -e $(BUILD_MSG) "build/C_wrapper_test" && \ - $(CC) wrappers/wrapper.c -Wl,-rpath,'$$ORIGIN' -Lbuild -lnimbus -lm -g -o build/C_wrapper_test - echo -e $(BUILD_MSG) "build/go_wrapper_test" && \ - go build -o build/go_wrapper_test wrappers/wrapper.go + echo -e $(BUILD_MSG) "build/C_wrapper_example" && \ + $(CC) wrappers/wrapper_example.c -Wl,-rpath,'$$ORIGIN' -Lbuild -lnimbus -lm -g -o build/C_wrapper_example + echo -e $(BUILD_MSG) "build/go_wrapper_example" && \ + go build -o build/go_wrapper_example wrappers/wrapper_example.go # https://bitbucket.org/nimcontrib/ntags/ - currently fails with "out of memory" ntags: diff --git a/wrappers/README.md b/wrappers/README.md index f61116262..807a79987 100644 --- a/wrappers/README.md +++ b/wrappers/README.md @@ -6,16 +6,16 @@ https://github.com/status-im/status-console-client/ It serves mainly as a proof-of-concept for now - there are several unresolved issues surrounding threading, inter-language communication, callbacks etc. -To build the wrappers and the test programs, run from the top level directory: +To build the wrappers and the example programs, run from the top level directory: ```bash make wrappers ``` -Now you can run the test programs: +Now you can run the example programs: ```bash -build/C_wrapper_test -build/go_wrapper_test +build/C_wrapper_example +build/go_wrapper_example ``` diff --git a/wrappers/wrapper.c b/wrappers/wrapper_example.c similarity index 100% rename from wrappers/wrapper.c rename to wrappers/wrapper_example.c diff --git a/wrappers/wrapper.go b/wrappers/wrapper_example.go similarity index 100% rename from wrappers/wrapper.go rename to wrappers/wrapper_example.go