linput

Listen to input events
git clone git://git.akobets.xyz/linput
Log | Files | Refs | README | LICENSE

commit b0d1a47ced043605e0e361f8b9e9989b1e652a4b
parent 96cc6cce1adc4857110605f1e563fa14f21fb71b
Author: Artem Kobets <artem@akobets.xyz>
Date:   Mon, 24 Aug 2020 11:06:49 +0300

build system

Diffstat:
MMakefile | 2+-
MREADME | 1+
Mconfig.mk | 10++++++----
3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile @@ -3,7 +3,7 @@ include config.mk all: linput linput: linput.c config.h - $(CC) $(CFLAGS) -o linput linput.c + $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(ALL_LDFLAGS) -o linput linput.c config.h: cp config.def.h config.h diff --git a/README b/README @@ -3,6 +3,7 @@ linput - listen to input events linput is an input event listener that runs a given command when a rule is matched. It reads input data from device files (/dev/input/event*). +Currently supports Linux. Requirements ------------ diff --git a/config.mk b/config.mk @@ -1,9 +1,11 @@ -VERSION = 1.1.1 +VERSION = 1.1.2 PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man CC = cc -CPPFLAGS = -D_DEFAULT_SOURCE \ - -DVERSION=\"$(VERSION)\" -CFLAGS = -std=c99 -pedantic -Wall -Os $(CPPFLAGS) +ALL_CPPFLAGS = -D_DEFAULT_SOURCE \ + -DVERSION=\"$(VERSION)\" \ + $(CPPFLAGS) +ALL_CFLAGS = -std=c99 -pedantic -Wall $(CFLAGS) +ALL_LDFLAGS = $(LDFLAGS)