From c4477844178978ef36a607a911712ed4c9c6904a Mon Sep 17 00:00:00 2001 From: Joshua Hill Date: Thu, 20 May 2010 14:23:54 -0400 Subject: A few minor changes so pod2g will quit yelling at me --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 70822cd..8c3f542 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -all: static +all: @echo "Please choose either macosx, linux, or windows" static: @@ -18,6 +18,16 @@ macosx: windows: gcc -o libirecovery.dll -c src/libirecovery.c -I. -lusb-1.0 -lreadline -shared -fPIC gcc -o irecovery irecovery.c -I. -lirecovery -lreadline + +install: + cp libirecovery.so /usr/local/lib/libirecovery.so + cp include/libirecovery.h /usr/local/include/libirecovery.h + cp irecovery /usr/local/bin/irecovery + +uninstall: + rm -rf /usr/local/lib/libirecovery.so + rm -rf include/libirecovery.h /usr/local/include/libirecovery.h + rm -rf /usr/local/bin/irecovery clean: rm -rf irecovery libirecovery.o libirecovery.so libirecovery.a -- cgit v1.1-32-gdbae