diff options
| author | 2010-05-20 14:23:54 -0400 | |
|---|---|---|
| committer | 2010-05-20 14:23:54 -0400 | |
| commit | c4477844178978ef36a607a911712ed4c9c6904a (patch) | |
| tree | a26e9a4bff3e8bd4a769d100fe1ed81b38017a02 /Makefile | |
| parent | fdbdb9f9e964528d08038e51cd57f9545cef294a (diff) | |
| download | libirecovery-c4477844178978ef36a607a911712ed4c9c6904a.tar.gz libirecovery-c4477844178978ef36a607a911712ed4c9c6904a.tar.bz2 | |
A few minor changes so pod2g will quit yelling at me
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | all: static | 1 | all: |
| 2 | @echo "Please choose either macosx, linux, or windows" | 2 | @echo "Please choose either macosx, linux, or windows" |
| 3 | 3 | ||
| 4 | static: | 4 | static: |
| @@ -18,6 +18,16 @@ macosx: | |||
| 18 | windows: | 18 | windows: |
| 19 | gcc -o libirecovery.dll -c src/libirecovery.c -I. -lusb-1.0 -lreadline -shared -fPIC | 19 | gcc -o libirecovery.dll -c src/libirecovery.c -I. -lusb-1.0 -lreadline -shared -fPIC |
| 20 | gcc -o irecovery irecovery.c -I. -lirecovery -lreadline | 20 | gcc -o irecovery irecovery.c -I. -lirecovery -lreadline |
| 21 | |||
| 22 | install: | ||
| 23 | cp libirecovery.so /usr/local/lib/libirecovery.so | ||
| 24 | cp include/libirecovery.h /usr/local/include/libirecovery.h | ||
| 25 | cp irecovery /usr/local/bin/irecovery | ||
| 26 | |||
| 27 | uninstall: | ||
| 28 | rm -rf /usr/local/lib/libirecovery.so | ||
| 29 | rm -rf include/libirecovery.h /usr/local/include/libirecovery.h | ||
| 30 | rm -rf /usr/local/bin/irecovery | ||
| 21 | 31 | ||
| 22 | clean: | 32 | clean: |
| 23 | rm -rf irecovery libirecovery.o libirecovery.so libirecovery.a | 33 | rm -rf irecovery libirecovery.o libirecovery.so libirecovery.a |
