summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Nicolas Haunold2010-05-14 16:15:39 +0200
committerGravatar Nicolas Haunold2010-05-14 16:15:39 +0200
commit2d126cde8a31ec79d7c728cecbdd8e5b55fc7e08 (patch)
tree81781824d0b76aa87b5ed4183c30cc2a5f695f09 /Makefile
parent47d6d8f3289c705144629a2658079c4dae9fb0c3 (diff)
downloadlibirecovery-2d126cde8a31ec79d7c728cecbdd8e5b55fc7e08.tar.gz
libirecovery-2d126cde8a31ec79d7c728cecbdd8e5b55fc7e08.tar.bz2
Added shell with 'internal' commands using readline.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 228b9c3..70822cd 100644
--- a/Makefile
+++ b/Makefile
@@ -9,15 +9,15 @@ static:
linux:
gcc -o libirecovery.o -c src/libirecovery.c -g -I./include -lreadline -fPIC
gcc -o libirecovery.so libirecovery.o -g -shared -Wl,-soname,libirecovery.so -lusb-1.0
- gcc -o irecovery src/irecovery.c -g -I./include -L. -lirecovery
+ gcc -o irecovery src/irecovery.c -g -I./include -L. -lirecovery -lreadline
macosx:
gcc -o libirecovery.dylib -c src/libirecovery.c -dynamiclib
- gcc -o irecovery irecovery.c -I. -lirecovery
+ gcc -o irecovery irecovery.c -I. -lirecovery -lreadline
windows:
gcc -o libirecovery.dll -c src/libirecovery.c -I. -lusb-1.0 -lreadline -shared -fPIC
- gcc -o irecovery irecovery.c -I. -lirecovery
+ gcc -o irecovery irecovery.c -I. -lirecovery -lreadline
clean:
rm -rf irecovery libirecovery.o libirecovery.so libirecovery.a