annotate c.sh @ 3:bdd83d6807d5 default tip

Autmatic Win32 Porting
author VilyaemKenyaz
date Thu, 28 Sep 2023 13:22:04 -0400
parents 5725e5313328
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ee518e7d265d First Commit
VilyaemKenyaz
parents:
diff changeset
1 #!/bin/sh
1
5725e5313328 Almost functional, need to interpret arg correctly, also ugly system() usage
VilyaemKenyaz
parents: 0
diff changeset
2 clear
5725e5313328 Almost functional, need to interpret arg correctly, also ugly system() usage
VilyaemKenyaz
parents: 0
diff changeset
3 echo "Compiling."
5725e5313328 Almost functional, need to interpret arg correctly, also ugly system() usage
VilyaemKenyaz
parents: 0
diff changeset
4 rm quicktimer
3
bdd83d6807d5 Autmatic Win32 Porting
VilyaemKenyaz
parents: 1
diff changeset
5 tcc quicktimer.c -o quicktimer
bdd83d6807d5 Autmatic Win32 Porting
VilyaemKenyaz
parents: 1
diff changeset
6 doas cp quicktimer /usr/bin/
bdd83d6807d5 Autmatic Win32 Porting
VilyaemKenyaz
parents: 1
diff changeset
7 x86_64-w64-mingw32-gcc quicktimer.c -o quicktimer.exe
bdd83d6807d5 Autmatic Win32 Porting
VilyaemKenyaz
parents: 1
diff changeset
8 mv quicktimer.exe win32