diff c.sh @ 1:dfce17cc481b default tip

Autmatic Win32 Porting
author VilyaemKenyaz
date Thu, 28 Sep 2023 13:21:58 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/c.sh	Thu Sep 28 13:21:58 2023 -0400
@@ -0,0 +1,8 @@
+#!/bin/ksh
+clear
+printf "Compiling\n"
+rm quickcalc
+tcc quickcalc.c -o quickcalc
+doas cp quickcalc /usr/bin/
+x86_64-w64-mingw32-gcc quickcalc.c -o quickcalc.exe
+mv quickcalc.exe win32