compile-and-run

This commit is contained in:
Christoph J. Scherr 2022-11-24 19:51:11 +01:00
parent 3a88ebc066
commit 55dc7a577d
1 changed files with 4 additions and 0 deletions

4
compile-and-run.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
name=$(echo "$1" | cut -f 1 -d '.')
gcc $1 -o bin/$noext
./bin/$noext $2 $3 $4 $5 $6 $7 $8 $9