Branch
Hash :
31260c68
Author :
Thomas de Grivel
Date :
2023-01-15T23:16:20
updated configure from c3
#!/bin/sh
SRC_TOP="$(dirname "$PWD")"
. "${SRC_TOP}/config.subr"
echo "# sources.mk generated by update_sources" > ${SOURCES_MK}
echo "# sources.sh generated by update_sources" > ${SOURCES_SH}
LIB_SOURCES="$(ls *.c | grep -Fv rtbuf_cli_main.c)"
LIB_SOURCES="$(echo "$LIB_SOURCES" | tr '\n' ' ')"
echo "LIB_SOURCES = $LIB_SOURCES" >> ${SOURCES_MK}
echo "LIB_SOURCES='$LIB_SOURCES'" >> ${SOURCES_SH}
PROG_SOURCES=rtbuf_cli_main.c
echo "PROG_SOURCES = $PROG_SOURCES" >> ${SOURCES_MK}
echo "PROG_SOURCES='$PROG_SOURCES'" >> ${SOURCES_SH}
update_sources_mk
update_sources_sh