add compile and run script in example dir
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
gcc -o x1 eg1.c -I../include_ytest/include/ -L.. -lytest $1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ "$#" -le 0 ] ; then
|
||||||
|
echo "usage : $0 <option>"
|
||||||
|
echo "for example: $0 \"-p=3 -r\""
|
||||||
|
fi
|
||||||
|
|
||||||
|
LD_LIBRARY_PATH=.. ./x1 $1
|
||||||
Reference in New Issue
Block a user