We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 473d978 commit 09e0c7eCopy full SHA for 09e0c7e
e9compile.sh
@@ -51,7 +51,7 @@ case "$1" in
51
;;
52
*)
53
echo >&2
54
- echo "${RED}error${OFF}: file $1 must have a .c/.cpp/.s extension" >&2
+ echo "${RED}error${OFF}: file ${1@Q} must have a .c/.cpp/.s extension" >&2
55
56
exit 1
57
@@ -68,7 +68,7 @@ CFLAGS=(
68
-mstringop-strategy=loop -fno-tree-vectorize -fomit-frame-pointer
69
-I examples/
70
)
71
-COMPILE=("$CC" "${CFLAGS[@]}" -c -Wall "$@" "$DIRNAME/$BASENAME.$EXTENSION")
+COMPILE=("$CC" "${CFLAGS[@]}" -c -Wall "$@" "$1")
72
73
echo "${COMPILE[@]}"
74
if ! "${COMPILE[@]}"
0 commit comments