-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blink1control-tool: added version thinking on this, for issue #139
- Loading branch information
Showing
4 changed files
with
512 additions
and
1 deletion.
There are no files selected for viewing
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
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,33 @@ | ||
|
||
blink1control-tool -- `blink1-tool`-like program for use with Blink1Control | ||
============ | ||
|
||
|
||
Prerequisites: | ||
### | ||
- libcurl | ||
|
||
Compiling: | ||
### | ||
On Mac OS X: | ||
``` | ||
% wget http://curl.haxx.se/download/curl-7.37.1.tar.gz | ||
% tar xvzf curl-7.37.1.tar.gz | ||
% cd curl-7.37.1 | ||
% ./configure --prefix `pwd`/../curl-mac --disable-shared --disable-ldap --without-zlib --without-libssh2 --without-ssl --disable-crypto-auth | ||
% make && make install | ||
% cd .. | ||
% make | ||
``` | ||
|
||
On Windows: | ||
``` | ||
% wget http://curl.haxx.se/download/curl-7.37.1.tar.gz | ||
% tar xvzf curl-7.37.1.tar.gz | ||
% cd curl-7.37.1 | ||
# In the file libcurl.pc.in add -DCURL_STATICLIB to Cflags. | ||
% ./configure --prefix `pwd`/../curl-win --disable-shared --disable-ldap --without-zlib --without-libssh2 | ||
% make && make install | ||
% cd .. | ||
% gcc -static -o curl-simple curl-simple.c `curl-win2/bin/curl-config --cflags` `curl-win2/bin/curl-config --static-libs` | ||
``` |
Oops, something went wrong.