forked from mckset/KD100
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update KD100.c, Makefile, and macros.h
Seperate Infos for K100 and K20, Endpoint corrected.
- Loading branch information
Showing
3 changed files
with
72 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
FLAGS = -lusb-1.0 -lX11 -lwayland-client | ||
FLAGS = -lusb-1.0 -lX11 -lwayland-client -g -pedantic | ||
|
||
install: | ||
${CC} KD100.c ${FLAGS} -o KD100 -pedantic; | ||
${CC} KD100.c ${FLAGS} -o KD100; | ||
clean: | ||
rm -f KD100 | ||
rm -f ./debian-dpkg/usr/local/bin/KD100 | ||
rm -f huion-k20-kd100.deb | ||
deb: | ||
${CC} KD100.c ${FLAGS} -o ./debian-dpkg/usr/local/bin/KD100; | ||
dpkg-deb --build debian-dpkg huion-k20-kd100.deb | ||
dpkg-deb --build debian-dpkg huion-k20-kd100.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#pragma once | ||
|
||
#define array_size(arr) (sizeof(arr) / sizeof((arr)[0])) |