Dear Intel Community,
I am going to combine Intel SGX with a program, which has their own dependencies. I am overwhelmed by the Makefile reading. May you provide any documentation/website explaining how to modify the SGX makefile suited to personal program, with dependencies? So that I can know where to add the dependency files such as -lm for math functions? Thank youuuu!
Best Regards,
Jin Xin
連結已複製
Hello MoonHasSevenColor,
Thanks for your patience.
We've received feedback from relevant team.
The best place to look at sample Makefiles is the SGX SDK samples. There are several samples that you can refer to: https://github.com/intel/linux-sgx/tree/master/SampleCode
The Intel® SGX Developer Reference Linux 2.20 Open Source is also a very handy resource when you are building a customer project. If you have specific questions, please let us know.
Regards,
Wan
