diff options
| author | 2010-05-13 07:06:45 -0400 | |
|---|---|---|
| committer | 2010-05-13 07:06:45 -0400 | |
| commit | 5bbd277ce71521a3898697e4c8cb25ed65990f9c (patch) | |
| tree | e786fc44f0be708c12ae85dc5ccf3227a5010135 /Makefile | |
| parent | a2a3537ea24d3cdcc1b210b45695d6eed33ee433 (diff) | |
| download | libirecovery-5bbd277ce71521a3898697e4c8cb25ed65990f9c.tar.gz libirecovery-5bbd277ce71521a3898697e4c8cb25ed65990f9c.tar.bz2 | |
Cleaned up irecv_reset(), and irecv_close() to make sure they were returning error if there really was an error
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -1,6 +1,11 @@ | |||
| 1 | all: | 1 | all: static |
| 2 | @echo "Please choose either macosx, linux, or windows" | 2 | @echo "Please choose either macosx, linux, or windows" |
| 3 | 3 | ||
| 4 | static: | ||
| 5 | gcc -o libirecovery.o -c src/libirecovery.c -g -I./include | ||
| 6 | ar rs libirecovery.a libirecovery.o | ||
| 7 | gcc -o irecovery src/irecovery.c -g -I./include -L. -lirecovery -lreadline -lusb-1.0 | ||
| 8 | |||
| 4 | linux: | 9 | linux: |
| 5 | gcc -o libirecovery.o -c src/libirecovery.c -g -I./include -lreadline -fPIC | 10 | gcc -o libirecovery.o -c src/libirecovery.c -g -I./include -lreadline -fPIC |
| 6 | gcc -o libirecovery.so libirecovery.o -g -shared -Wl,-soname,libirecovery.so -lusb-1.0 | 11 | gcc -o libirecovery.so libirecovery.o -g -shared -Wl,-soname,libirecovery.so -lusb-1.0 |
