change some files in ytest_t repo after reorganizing it

This commit is contained in:
2023-11-24 09:51:33 +01:00
parent a378261e9b
commit 0c6a277f7c
7 changed files with 25 additions and 12 deletions
+3 -1
View File
@@ -12,7 +12,9 @@ LDFLAGS=-L$(PWD)/.. -lytest
#SRC_DIR=$(ROOT_DIR)/src
#SRC=$(wildcard */*/*.c)
SRC=$(wildcard **/**/*.c)
OBJ=$(SRC:.c=.o)
#OBJ=$(SRC:.c=.o)
#HEADS=$(OBJS:.o=.h)
TEST_DIR=$(PWD)
EXECSRC=$(NAME_TEST).c
+4 -2
View File
@@ -13,9 +13,11 @@ if [ "$#" -le 1 ] ; then
echo "for example: $0 $1 \"-D DEBUG=1 -g\""
fi
YTESTDIR=$PWD/..
gcc -o launch_is_good_c $1 -L$PWD/../ $2 -lytest -I../include_ytest/include
gcc -o launch_is_good_c $1 -L$YTESTDIR $2 -lytest -I$YTESTDIR/include_ytest/include
echo "gcc -o launch_is_good_c $1 -L$YTESTDIR $2 -lytest -I$YTESTDIR/include_ytest/include"
export LD_LIBRARY_PATH=$PWD/../:LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$YTESTDIR:LD_LIBRARY_PATH