annotate c.sh @ 1:dfce17cc481b default tip

Autmatic Win32 Porting
author VilyaemKenyaz
date Thu, 28 Sep 2023 13:21:58 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
dfce17cc481b Autmatic Win32 Porting
VilyaemKenyaz
parents:
diff changeset
1 #!/bin/ksh
dfce17cc481b Autmatic Win32 Porting
VilyaemKenyaz
parents:
diff changeset
2 clear
dfce17cc481b Autmatic Win32 Porting
VilyaemKenyaz
parents:
diff changeset
3 printf "Compiling\n"
dfce17cc481b Autmatic Win32 Porting
VilyaemKenyaz
parents:
diff changeset
4 rm quickcalc
dfce17cc481b Autmatic Win32 Porting
VilyaemKenyaz
parents:
diff changeset
5 tcc quickcalc.c -o quickcalc
dfce17cc481b Autmatic Win32 Porting
VilyaemKenyaz
parents:
diff changeset
6 doas cp quickcalc /usr/bin/
dfce17cc481b Autmatic Win32 Porting
VilyaemKenyaz
parents:
diff changeset
7 x86_64-w64-mingw32-gcc quickcalc.c -o quickcalc.exe
dfce17cc481b Autmatic Win32 Porting
VilyaemKenyaz
parents:
diff changeset
8 mv quickcalc.exe win32