aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
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