Skip to content

Commit

Permalink
added build flags to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
vmonaco committed Sep 20, 2021
1 parent ea6f6be commit ca55105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -3,7 +3,7 @@
all : kloak eventcap

kloak : src/main.c src/keycodes.c src/keycodes.h
gcc src/main.c src/keycodes.c -o kloak -lm $(shell pkg-config --cflags --libs libevdev) $(shell pkg-config --cflags --libs libsodium) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
gcc src/main.c src/keycodes.c -o kloak -lm -levdev -lsodium -I/usr/include/libevdev-1.0/ $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)

eventcap : src/eventcap.c
gcc src/eventcap.c -o eventcap $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
Expand Down
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -134,8 +134,7 @@ The full usage and options are:

Usage: kloak [options]
Options:
-r filename: device file to read events from
-w filename: device file to write events to (should be uinput)
-r filename: device file to read events from. Can specify multiple -r options.
-d delay: maximum delay (milliseconds) of released events. Default 100.
-s startup_timeout: time to wait (milliseconds) before startup. Default 100.
-k csv_string: csv list of rescue key names to exit kloak in case the
Expand Down

0 comments on commit ca55105

Please sign in to comment.