diff --git a/cli/binaries_dist/tkg-flash.exe b/cli/binaries_dist/tkg-flash.exe index d9a050d..a96815d 100644 Binary files a/cli/binaries_dist/tkg-flash.exe and b/cli/binaries_dist/tkg-flash.exe differ diff --git a/cli/make_win.sh b/cli/make_win.sh new file mode 100755 index 0000000..6a1aaed --- /dev/null +++ b/cli/make_win.sh @@ -0,0 +1,7 @@ +# To cross compile for windows, install mingw32 +# +i686-w64-mingw32-gcc -c -Wall -I . main.c -o main.o +i686-w64-mingw32-gcc -c -Wall -I . hid-win.c -o hid-win.o +i686-w64-mingw32-gcc -c -Wall -I . rs232.c -o rs232.o +i686-w64-mingw32-gcc main.o hid-win.o rs232.o -lsetupapi -lhid -o tkg-flash.exe +