Skip to content

Commit

Permalink
Merge pull request #264 from lengyijun/patch-2
Browse files Browse the repository at this point in the history
Update Makefile
  • Loading branch information
dingelish committed Sep 3, 2020
2 parents 9acbbf5 + 1d0e72f commit ac497c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions samplecode/hello-rust/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ App_Include_Paths := -I ./app -I./include -I$(SGX_SDK)/include -I$(CUSTOM_EDL_PA
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 ########
Expand Down Expand Up @@ -124,7 +124,6 @@ app/Enclave_u.o: $(Enclave_EDL_Files)

$(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)
Expand Down

0 comments on commit ac497c7

Please sign in to comment.