diff options
author | rupak19 | 2020-04-04 16:04:24 +0530 |
---|---|---|
committer | rupak19 | 2020-04-04 16:04:24 +0530 |
commit | 5a54dcb6874735aac86df4295d57cf5f9545287e (patch) | |
tree | 59c20334d89ca9910e0a4374297231982ad3ac4b /src/run.sh | |
download | Scilab6-Test-Toolbox-5a54dcb6874735aac86df4295d57cf5f9545287e.tar.gz Scilab6-Test-Toolbox-5a54dcb6874735aac86df4295d57cf5f9545287e.tar.bz2 Scilab6-Test-Toolbox-5a54dcb6874735aac86df4295d57cf5f9545287e.zip |
first commit
Diffstat (limited to 'src/run.sh')
-rwxr-xr-x | src/run.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/run.sh b/src/run.sh new file mode 100755 index 0000000..729b991 --- /dev/null +++ b/src/run.sh @@ -0,0 +1,8 @@ +rm *.o *.so *.lib test + +gcc -fPIC -c add.c +gcc -shared -o libadd.so add.o +gcc -L$(pwd) -Wl,-rpath=$(pwd) -o test main.c -ladd -g + +cp add.h ../thirdparty/linux/include/ +cp libadd.so ../thirdparty/linux/lib/x64/ |