update verbose in compile script

This commit is contained in:
2023-10-18 11:27:31 +02:00
parent afa6b76cac
commit 8416cceb7c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ 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 "we can add more option for example '-D DEBUG=1' to have debug print of PRINT_DEBUG_ (tools_t macro), notice that PRINT_DEBUG is provide by ytest and can be activate with --debug option on runtime.\n The other compile option is '-g' to have gbd", and so on..>&2
echo "for example: $0 \"-D DEBUG=1 -g\""
fi
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -5,14 +5,14 @@ if [ "$#" -le 0 ] ; then
echo "for example to compile: is_good.c" >&2
exit 1
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, or '-g' to gbd" >&2
echo "we can add more option for example '-D DEBUG=1' to have debug print of PRINT_DEBUG_ (tools_t macro), notice that PRINT_DEBUG is provide by ytest and can be activate with --debug option on runtime.\n The other compile option is '-g' to have gbd", and so on..>&2
echo "for example: $0 $1 \"-D DEBUG=1 -g\""
fi
gcc -o launch_is_good_c $1 -L$PWD/../ $2 -lytest -I../include_ytest/include
#gcc -o launch_is_good_c $1 $2 -lytest -I../include_ytest src/permutation_t/permutation_t.o src/set_theoric_t/set_theoric_t.o -I./src