diff c.sh @ 3:bdd83d6807d5 default tip

Autmatic Win32 Porting
author VilyaemKenyaz
date Thu, 28 Sep 2023 13:22:04 -0400
parents 5725e5313328
children
line wrap: on
line diff
--- a/c.sh	Wed Jul 26 03:46:13 2023 -0400
+++ b/c.sh	Thu Sep 28 13:22:04 2023 -0400
@@ -1,10 +1,8 @@
 #!/bin/sh
-#Complation script
 clear
 echo "Compiling."
 rm quicktimer
-gcc quicktimer.c -o quicktimer
-echo "WITHOUT ARGS"
-./quicktimer
-echo "WITH ARGS"
-./quicktimer 30
+tcc quicktimer.c -o quicktimer
+doas cp quicktimer /usr/bin/
+x86_64-w64-mingw32-gcc quicktimer.c -o quicktimer.exe
+mv quicktimer.exe win32