mirror of
https://github.com/moparisthebest/uinput-mapper
synced 2024-11-12 03:35:05 -05:00
17 lines
243 B
Makefile
17 lines
243 B
Makefile
.PHONY: default clean
|
|
|
|
CFLAGS+=-ansi -pedantic -Wall -Wextra -Werror -Wno-unused-result
|
|
CFLAGS+=-pipe -O2
|
|
CFLAGS+=-D_BSD_SOURCE
|
|
|
|
default: map
|
|
|
|
keys:
|
|
bash genkeys.sh
|
|
|
|
map: map.c keys
|
|
$(CC) map.c $(CFLAGS) -o map
|
|
|
|
clean:
|
|
rm -f map def_keys.h
|