aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2026-07-23 02:50:26 -0500
committericeyrazor <iceyrazor@mailfence.com>2026-07-23 02:50:26 -0500
commit66b8519627d3ec3f43c041d7d7a9a86331593765 (patch)
treeb58d9024ac187277ed05ae43573c904bf6fda3dc /build.sh
parente82bf059815a58594e14045b35df5d267c5ffe23 (diff)
removed src/ from build.sh. makes it better to auto complete.
added frame_delay var for sdl screen.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index e005808..bfc4527 100755
--- a/build.sh
+++ b/build.sh
@@ -14,8 +14,8 @@ shift $((OPTIND-1))
[ "${1:-}" = "--" ] && shift
if [ "$1" ]; then
- printf -- "\n\nmaking src %s\n" "$1"
- file="src/$1"
+ printf -- "\n\nmaking %s\n" "$1"
+ file="$1"
clang -o bin/$(basename $file | sed 's/.c$//') $file $LIB `sdl2-config --cflags --libs` -lm $DEBUG
else
for file in src/*; do