diff options
| author | 2009-03-27 01:31:41 +0100 | |
|---|---|---|
| committer | 2009-03-27 01:31:41 +0100 | |
| commit | a8d088cf480f306fc5724a7590a59d61d62af382 (patch) | |
| tree | 43fa1689176ca3839669c156bc6222e1eaf6b566 /Makefile | |
| parent | 0491d931b5a0a35bf7a9af0a84dcfe06611bedf9 (diff) | |
| download | usbmuxd-a8d088cf480f306fc5724a7590a59d61d62af382.tar.gz usbmuxd-a8d088cf480f306fc5724a7590a59d61d62af382.tar.bz2 | |
Makefile: install target added
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -2,6 +2,7 @@ TARGETS=usbmuxd iproxy testclient | |||
| 2 | CFLAGS=-Wall -g -DDEBUG | 2 | CFLAGS=-Wall -g -DDEBUG |
| 3 | LIBS=-lpthread -lusb -lrt | 3 | LIBS=-lpthread -lusb -lrt |
| 4 | LDFLAGS= | 4 | LDFLAGS= |
| 5 | INSTALL_PREFIX=/usr | ||
| 5 | 6 | ||
| 6 | all: $(TARGETS) | 7 | all: $(TARGETS) |
| 7 | 8 | ||
| @@ -28,4 +29,8 @@ clean: | |||
| 28 | realclean: clean | 29 | realclean: clean |
| 29 | rm -f *~ | 30 | rm -f *~ |
| 30 | 31 | ||
| 32 | install: all | ||
| 33 | cp usbmuxd $(INSTALL_PREFIX)/sbin/ | ||
| 34 | cp usbmuxd.h $(INSTALL_PREFIX)/include/ | ||
| 35 | |||
| 31 | .PHONY: all clean realclean | 36 | .PHONY: all clean realclean |
