summaryrefslogtreecommitdiff
path: root/clients/linux/Makefile
blob: c3eff8fafe6fbb490feb1069534ebc3dea9a98a2 (plain)
1
2
3
4
5
6
7
8
9
10
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