2024-03-11 15:36:09 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
SOURCE=${BASH_SOURCE[0]}
|
|
|
|
while [ -L "$SOURCE" ]; do
|
|
|
|
DIR=$(cd -P "$(dirname "$SOURCE")" >/dev/null 2>&1 && pwd)
|
|
|
|
SOURCE=$(readlink "$SOURCE")
|
|
|
|
[[ $SOURCE != /* ]] && SOURCE=$DIR/$SOURCE
|
|
|
|
done
|
|
|
|
DIR=$(cd -P "$(dirname "$SOURCE")" >/dev/null 2>&1 && pwd)
|
|
|
|
|
|
|
|
SRC_DIR=$(realpath ${DIR}/../src)
|
|
|
|
|
2024-03-13 17:02:11 +01:00
|
|
|
find ${SRC_DIR} -name "*.c*" -o -name "*.h*" -o -name "CMakeLists.txt" | \
|
2024-03-11 15:36:09 +01:00
|
|
|
entr -r ${DIR}/compilelib.sh
|