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