X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=cflags.SH;h=54e19d5584751878b917a6b00b7b3ce4a95dfcc3;hb=428594d9a91205507a48ff403c563df811057c3b;hp=3aa028f8c4b4e37a0e354613294ec729103480a9;hpb=8736538c3cff6585c95a01b990d3b3a9e5d5744d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/cflags.SH b/cflags.SH index 3aa028f..54e19d5 100755 --- a/cflags.SH +++ b/cflags.SH @@ -1,4 +1,4 @@ -case $CONFIGDOTSH in +case $CONFIG in '') if test -f config.sh; then TOP=.; elif test -f ../config.sh; then TOP=..; @@ -65,7 +65,7 @@ case $# in 0) set *.c; echo "The current C flags are:" ;; esac -set `echo "$* " | sed -e 's/\.[oc] / /g' -e 's/\.obj / /g'` +set `echo "$* " | sed -e 's/\.[oc] / /g' -e 's/\.obj / /g' -e "s/\\$obj_ext / /g"` for file do