diff c.sh @ 1:5725e5313328

Almost functional, need to interpret arg correctly, also ugly system() usage
author VilyaemKenyaz
date Wed, 26 Jul 2023 03:18:00 -0400
parents ee518e7d265d
children bdd83d6807d5
line wrap: on
line diff
--- a/c.sh	Wed Jul 26 02:38:08 2023 -0400
+++ b/c.sh	Wed Jul 26 03:18:00 2023 -0400
@@ -1,3 +1,10 @@
 #!/bin/sh
 #Complation script
-tcc quicktimer.c -o quicktimer
+clear
+echo "Compiling."
+rm quicktimer
+gcc quicktimer.c -o quicktimer
+echo "WITHOUT ARGS"
+./quicktimer
+echo "WITH ARGS"
+./quicktimer 30