summaryrefslogtreecommitdiff
path: root/src/run.sh
diff options
context:
space:
mode:
authorrupak192020-04-04 16:04:24 +0530
committerrupak192020-04-04 16:04:24 +0530
commit5a54dcb6874735aac86df4295d57cf5f9545287e (patch)
tree59c20334d89ca9910e0a4374297231982ad3ac4b /src/run.sh
downloadScilab6-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-xsrc/run.sh8
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/