From 5bbd277ce71521a3898697e4c8cb25ed65990f9c Mon Sep 17 00:00:00 2001 From: Joshua Hill Date: Thu, 13 May 2010 07:06:45 -0400 Subject: Cleaned up irecv_reset(), and irecv_close() to make sure they were returning error if there really was an error --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a2074a7..2d7cc8e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,11 @@ -all: +all: static @echo "Please choose either macosx, linux, or windows" +static: + gcc -o libirecovery.o -c src/libirecovery.c -g -I./include + ar rs libirecovery.a libirecovery.o + gcc -o irecovery src/irecovery.c -g -I./include -L. -lirecovery -lreadline -lusb-1.0 + 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 -- cgit v1.1-32-gdbae