FreeCalypso > hg > fc-magnetite
changeset 133:87347425b11f
scripts/mk-component.sh: more filename case muck
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 08 Oct 2016 04:10:38 +0000 |
parents | b8fc86826624 |
children | 86f2e49f3595 |
files | scripts/mk-component.sh |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/mk-component.sh Sat Oct 08 03:55:20 2016 +0000 +++ b/scripts/mk-component.sh Sat Oct 08 04:10:38 2016 +0000 @@ -79,6 +79,12 @@ fi objname=`basename "$1" .c`.obj helpers/makeline dep $objname "$1" >> $BUILD_DIR/$LIBNAME/Makefile + case "$objname" in + *[A-Z]*) + helpers/makeline cmd rm -f '$@' \ + >> $BUILD_DIR/$LIBNAME/Makefile + ;; + esac helpers/makeline cmd ../../toolwrap/cl470 -q -c ${CFLAGS} ${CPPFLAGS} \ "$1" >> $BUILD_DIR/$LIBNAME/Makefile case "$objname" in @@ -105,6 +111,12 @@ pp__name=`echo $1 | sed -e 's/\.c$/.pp_/' | tr A-Z a-z` helpers/makeline dep $objname "$1" \ >> $BUILD_DIR/$LIBNAME/Makefile + case "$objname" in + *[A-Z]*) + helpers/makeline cmd rm -f '$@' \ + >> $BUILD_DIR/$LIBNAME/Makefile + ;; + esac helpers/makeline cmd ../../toolwrap/cl470 -q -po -p? -x \ ${CPPFLAGS} "$1" >> $BUILD_DIR/$LIBNAME/Makefile helpers/makeline cmd ../../toolwrap/str2ind -a \