blob: 09c37b9f2e56d1a587e9d1488fcb4afbd8a0c32d (
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: uinputd
uinputd: uinputd.c
clean:
$(RM) uinputd
.PHONY: clean
|