Mercurial Hosting > quicktimer
annotate c.sh @ 3:bdd83d6807d5 default tip
Autmatic Win32 Porting
author | VilyaemKenyaz |
---|---|
date | Thu, 28 Sep 2023 13:22:04 -0400 |
parents | 5725e5313328 |
children |
rev | line source |
---|---|
0 | 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 | 5 tcc quicktimer.c -o quicktimer |
6 doas cp quicktimer /usr/bin/ | |
7 x86_64-w64-mingw32-gcc quicktimer.c -o quicktimer.exe | |
8 mv quicktimer.exe win32 |