summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3971798..ece8ebb 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@ TARGETS=usbmuxd iproxy testclient
CFLAGS=-Wall -g -DDEBUG
LIBS=-lpthread -lusb -lrt
LDFLAGS=
+INSTALL_PREFIX=/usr
all: $(TARGETS)
@@ -28,4 +29,8 @@ clean:
realclean: clean
rm -f *~
+install: all
+ cp usbmuxd $(INSTALL_PREFIX)/sbin/
+ cp usbmuxd.h $(INSTALL_PREFIX)/include/
+
.PHONY: all clean realclean