comparison c.sh @ 3:bdd83d6807d5 default tip

Autmatic Win32 Porting
author VilyaemKenyaz
date Thu, 28 Sep 2023 13:22:04 -0400
parents 5725e5313328
children
comparison
equal deleted inserted replaced
2:0dbfb504309e 3:bdd83d6807d5
1 #!/bin/sh 1 #!/bin/sh
2 #Complation script
3 clear 2 clear
4 echo "Compiling." 3 echo "Compiling."
5 rm quicktimer 4 rm quicktimer
6 gcc quicktimer.c -o quicktimer 5 tcc quicktimer.c -o quicktimer
7 echo "WITHOUT ARGS" 6 doas cp quicktimer /usr/bin/
8 ./quicktimer 7 x86_64-w64-mingw32-gcc quicktimer.c -o quicktimer.exe
9 echo "WITH ARGS" 8 mv quicktimer.exe win32
10 ./quicktimer 30