Linux/Mac Makefile example.
original post is here
I've done some modification so Chinese info is echoed while executing make command.
After cloning the repository:
- build with make
cd Makefile-Example
make- add
libmath.soto path
- linux:
export LD_LIBRARY_PATH=path/to/Example-Makefile/math/bin/- mac
export DYLD_LIBRARY_PATH=path/to/Example-Makefile/math/bin/- execute the program
./app/bin/app.exe 4