Skip to content

Commit

Permalink
Updated cli binary binaries_dist/tkg-flash.exe
Browse files Browse the repository at this point in the history
Added make_win.sh to quickly build the win exe under Linux with mingw32
  • Loading branch information
TheKikGen committed Oct 22, 2020
1 parent 1af6da5 commit e26445c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Binary file modified cli/binaries_dist/tkg-flash.exe
Binary file not shown.
7 changes: 7 additions & 0 deletions cli/make_win.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e26445c

Please sign in to comment.