aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-10-14 18:17:46 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-10-14 18:17:46 +0300
commit6516b26acec2abd862a3c1f42886e749e2dfad5c (patch)
treecfa5c121f37c5c9e6a1cc1b8c604e09ec35dc697 /build.sh
parent3ca0ae80729086a7e483d1eddf8bdbbb46582c29 (diff)
a little bit more user friendly
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 f1befea..38a958e 100755
--- a/build.sh
+++ b/build.sh
@@ -14,7 +14,8 @@ function __run__ {
function __clean__ {
rm -rf $BIN
- rm -rf $FILES/*.txt
+ rm -rf $FILES/in.*
+ rm -rf $FILES/out.*
kill $( ps -q $$ -o pgid= ) # exit
}
@@ -27,7 +28,6 @@ fi
mkdir -p $BIN
-mkdir -p $FILES
gcc -o $BIN/main $FLAGS $SRCD/main.c
gcc -o $BIN/gen_chain $FLAGS $SRCD/gen_chain.c