Fooled around with hidapi
This commit is contained in:
parent
1ccf002bbf
commit
4dcb0d8f54
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "hidapi"]
|
||||||
|
path = hidapi
|
||||||
|
url = https://github.com/libusb/hidapi
|
3
Makefile
3
Makefile
@ -3,8 +3,7 @@
|
|||||||
obj-m += hanvon.o
|
obj-m += hanvon.o
|
||||||
|
|
||||||
all:
|
all:
|
||||||
gcc hanvon-libusb.c -L/usr/local/lib -lusb-1.0 -g
|
gcc hanvon-libusb.c ./hidapi/linux/hid.o -L/usr/local/lib -lusb-1.0 -ludev -g
|
||||||
|
|
||||||
|
|
||||||
archive:
|
archive:
|
||||||
tar f - --exclude=.git -C ../ -c hanvon | gzip -c9 > ../hanvon-`date +%Y%m%d`.tgz
|
tar f - --exclude=.git -C ../ -c hanvon | gzip -c9 > ../hanvon-`date +%Y%m%d`.tgz
|
||||||
|
1
hidapi
Submodule
1
hidapi
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit cdc473dfe43f6432dda7ad53d7656b8ae8ff968b
|
Loading…
x
Reference in New Issue
Block a user