Fix libtest.sh
This commit is contained in:
parent
19c883ea33
commit
dc9450f64a
@ -12,9 +12,10 @@
|
|||||||
# -o main /usr/lib/crt1.o hello.o -lc && \
|
# -o main /usr/lib/crt1.o hello.o -lc && \
|
||||||
# ./main ; echo "Return value: ""$?"
|
# ./main ; echo "Return value: ""$?"
|
||||||
|
|
||||||
$BINARY="$($1 | cut -d'.' -f1)"".out"
|
BINARY="$(echo $1 | cut -d'.' -f1)"".out"
|
||||||
|
|
||||||
|
make clean SRC=$1 && make SRC=$1 && echo ""
|
||||||
|
|
||||||
make clean SRC=$1 && make SRC=$1 && echo "" && \
|
|
||||||
$BINARY ; echo "Return value: ""$?"
|
$BINARY ; echo "Return value: ""$?"
|
||||||
|
|
||||||
## Command from: clang -v hello.o -o test
|
## Command from: clang -v hello.o -o test
|
||||||
|
Loading…
Reference in New Issue
Block a user