add verbose in compile and kreate lib script

This commit is contained in:
2023-10-18 01:00:40 +02:00
parent 05a8d57489
commit adeb285b41
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -5,6 +5,12 @@ do
cp -r "$yfile/include" include_ytest/
done
if [ "$#" -le 0 ] ; then
echo "Usage: $0" >&2
echo "we can add more option for example '-D DEBUG=1' to have debug print, or '-g' to gbd" >&2
echo "for example: $0 \"-D DEBUG=1 -g\""
fi
gcc -c -Wall -Werror -fpic yftest/src/ftest/ftest.c yfmock/src/fmock/fmock.c \
ytools_t/src/tools_t/tools_t.c ybar_progress/src/bar_progress/bar_progress.c \
+2 -2
View File
@@ -7,8 +7,8 @@ if [ "$#" -le 0 ] ; then
fi
if [ "$#" -le 1 ] ; then
echo "Usage: $0 $1" >&2
echo " we can add more option for example '-D DEBUG=1' to have debug print, '-D HK' to have gtest like prompt, od '-g' to gbd" >&2
echo "for example: $0 $1 \"-D DEBUG=1 -D HK -g\""
echo "we can add more option for example '-D DEBUG=1' to have debug print, or '-g' to gbd" >&2
echo "for example: $0 $1 \"-D DEBUG=1 -g\""
fi