Merge pull request #264 from lengyijun/patch-2
Update Makefile
diff --git a/samplecode/hello-rust/Makefile b/samplecode/hello-rust/Makefile
index 93faee2..52dace5 100644
--- a/samplecode/hello-rust/Makefile
+++ b/samplecode/hello-rust/Makefile
@@ -75,7 +75,7 @@
App_C_Flags := $(SGX_COMMON_CFLAGS) -fPIC -Wno-attributes $(App_Include_Paths)
App_Rust_Path := ./app/target/release
-App_Enclave_u_Object :=app/libEnclave_u.a
+App_Enclave_u_Object :=lib/libEnclave_u.a
App_Name := bin/app
######## Enclave Settings ########
@@ -124,7 +124,6 @@
$(App_Enclave_u_Object): app/Enclave_u.o
$(AR) rcsD $@ $^
- cp $(App_Enclave_u_Object) ./lib
$(App_Name): $(App_Enclave_u_Object) $(App_SRC_Files)
@cd app && SGX_SDK=$(SGX_SDK) cargo build $(App_Rust_Flags)