diff options
author | Nikias Bassen | 2009-03-28 01:29:57 +0100 |
---|---|---|
committer | Nikias Bassen | 2009-03-28 01:29:57 +0100 |
commit | 50fc7586b2abf8a5ce999235c82d9de1bab98bfd (patch) | |
tree | 9d40ee339ca716bb43ad57817a4c0dc76b76d3b6 /Makefile | |
parent | 91d76eb4e449dec0cb23d56886817d9910963559 (diff) | |
download | usbmuxd-50fc7586b2abf8a5ce999235c82d9de1bab98bfd.tar.gz usbmuxd-50fc7586b2abf8a5ce999235c82d9de1bab98bfd.tar.bz2 |
debugging output fixed
'libusbmuxd' added to simplify use of usbmuxd in external tools
testclient removed
setting of configuration 3 disabled (to be handled by udev)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -1,5 +1,5 @@ -TARGETS=usbmuxd iproxy testclient -CFLAGS=-Wall -g -DDEBUG +TARGETS=usbmuxd iproxy +CFLAGS=-I. -Wall -g -DDEBUG LIBS=-lpthread -lusb -lrt LDFLAGS= INSTALL_PREFIX=/usr @@ -7,9 +7,10 @@ INSTALL_PREFIX=/usr all: $(TARGETS) main.o: main.c usbmuxd.h sock_stuff.h iphone.h -iphone.o: iproxy.c iphone.h usbmuxd.h sock_stuff.h +iphone.o: iphone.c iphone.h usbmuxd.h sock_stuff.h sock_stuff.o: sock_stuff.c sock_stuff.h -testclient.o: testclient.c sock_stuff.h +libusbmuxd.o: libusbmuxd.c libusbmuxd.h usbmuxd.h +iproxy.o: iproxy.c sock_stuff.h %.o: %.c $(CC) -o $@ $(CFLAGS) -c $< @@ -17,10 +18,7 @@ testclient.o: testclient.c sock_stuff.h usbmuxd: main.o sock_stuff.o iphone.o $(CC) -o $@ $(LDFLAGS) $^ $(LIBS) -testclient: testclient.o sock_stuff.o - $(CC) -o $@ $(LDFLAGS) $^ $(LIBS) - -iproxy: iproxy.o sock_stuff.o +iproxy: iproxy.o libusbmuxd.o sock_stuff.o $(CC) -o $@ $(LDFLAGS) $^ $(LIBS) clean: |