summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcflags.SH2
-rwxr-xr-xx2p/cflags.SH2
2 files changed, 2 insertions, 2 deletions
diff --git a/cflags.SH b/cflags.SH
index 3aa028f8c4..715680eecb 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -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
diff --git a/x2p/cflags.SH b/x2p/cflags.SH
index 62bd11c9d9..a58d7d564d 100755
--- a/x2p/cflags.SH
+++ b/x2p/cflags.SH
@@ -57,7 +57,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