-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated cli binary binaries_dist/tkg-flash.exe
Added make_win.sh to quickly build the win exe under Linux with mingw32
- Loading branch information
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|