| Line | |
|---|
| 1 | CFLAGS += $(COPTS) -I$(TOP)/ipeth/libimobiledevice/include -I$(TOP)/ipeth/libplist/include -DNEED_PRINTF -ffunction-sections -fdata-sections -Wl,--gc-sections |
|---|
| 2 | LDLIBS += $(TOP)/ipeth/libimobiledevice/src/.libs/libimobiledevice.a -L$(TOP)/openssl -lssl -lcrypto -L$(TOP)/ipeth/libplist/src -lplist $(TOP)/ipeth/libusbmuxd/libusbmuxd/liblibusbmuxd-static.a $(TOP)/ipeth/libxml2/.libs/libxml2.a -lm -lpthread |
|---|
| 3 | |
|---|
| 4 | all: ipheth-pair ipheth-loop |
|---|
| 5 | |
|---|
| 6 | ipheth-pair: ipheth-pair.o |
|---|
| 7 | |
|---|
| 8 | ipheth-loop: ipheth-loop.o |
|---|
| 9 | $(CC) -o ipheth-loop -fdata-sections -Wl,--gc-sections ipheth-loop.o |
|---|
| 10 | |
|---|
| 11 | install: |
|---|
| 12 | install -m 0755 ipheth-pair /lib/udev/ |
|---|
| 13 | install -m 0644 90-iphone-tether.rules /etc/udev/rules.d |
|---|
| 14 | /sbin/udevadm control --reload-rules |
|---|
| 15 | |
|---|
| 16 | clean: |
|---|
| 17 | rm -f *.o ipheth-pair ipheth-loop |
|---|
Note: See
TracBrowser
for help on using the repository browser.