Lines 1-4
Link Here
|
1 |
CFLAGS += -Wall -O2 |
|
|
2 |
LDLIBS += -limobiledevice |
1 |
LDLIBS += -limobiledevice |
3 |
|
2 |
|
4 |
all: ipheth-pair |
3 |
all: ipheth-pair |
Lines 6-14
Link Here
|
6 |
ipheth-pair: ipheth-pair.o |
5 |
ipheth-pair: ipheth-pair.o |
7 |
|
6 |
|
8 |
install: |
7 |
install: |
9 |
install -m 0755 ipheth-pair /lib/udev/ |
8 |
install -D -m 0755 ipheth-pair ${DESTDIR}/lib/udev/ipheth-pair |
10 |
install -m 0644 90-iphone-tether.rules /etc/udev/rules.d |
9 |
install -D -m 0644 90-iphone-tether.rules ${DESTDIR}/etc/udev/rules.d/90-iphone-tether.rules |
11 |
/sbin/udevadm control --reload-rules |
|
|
12 |
|
10 |
|
13 |
clean: |
11 |
clean: |
14 |
rm -f *.o ipheth-pair |
12 |
rm -f *.o ipheth-pair |