summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-03-27 01:31:41 +0100
committerGravatar Nikias Bassen2009-03-27 01:31:41 +0100
commita8d088cf480f306fc5724a7590a59d61d62af382 (patch)
tree43fa1689176ca3839669c156bc6222e1eaf6b566
parent0491d931b5a0a35bf7a9af0a84dcfe06611bedf9 (diff)
downloadusbmuxd-a8d088cf480f306fc5724a7590a59d61d62af382.tar.gz
usbmuxd-a8d088cf480f306fc5724a7590a59d61d62af382.tar.bz2
Makefile: install target added
-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