From 0699cbd82b577a4358d199a627e9bc4497f436e7 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Wed, 4 Jul 2018 20:25:49 +0300 Subject: initial commit --- clients/linux/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 clients/linux/Makefile (limited to 'clients/linux/Makefile') diff --git a/clients/linux/Makefile b/clients/linux/Makefile new file mode 100644 index 0000000..c3eff8f --- /dev/null +++ b/clients/linux/Makefile @@ -0,0 +1,11 @@ +version := $(shell git describe --abbrev=0 --tags --match "[0-9]*\.[0-9]*") +override CFLAGS += -std=c11 +override CPPFLAGS += -D_DEFAULT_SOURCE -DUINPUTD_VERSION='"$(version)"' -I../../ + +all: linux-uinput +linux-uinput: linux-uinput.c + +clean: + $(RM) linux-uinput + +.PHONY: clean -- cgit v1.2.3