From 4a69125772f1b15cc6d98ab608166f873e92ea74 Mon Sep 17 00:00:00 2001 From: Squibid Date: Fri, 13 Oct 2023 13:45:59 +0000 Subject: make build script compile individual programs --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 92b71e4..d6deca1 100755 --- a/build.sh +++ b/build.sh @@ -15,6 +15,6 @@ case $1 in done ;; *) - printf "'%s' is not an option!\n" $1 + gcc $1.c -o $(echo $1 | sed 's/\.c//') $args ;; esac -- cgit v1.2.1