summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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