dfd23a44de
Add a new module "layout" that will eventually evolve into the only keyboard layout module. Right now, it uses an external binary (get-kbd-layout) to determine the layout of a keyboard device (because I did not manage to call libX11 with ctypes correctly). see #788 see #790
13 lines
149 B
Makefile
13 lines
149 B
Makefile
CC=gcc
|
|
CFLAGS=
|
|
|
|
%.o: %.c
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
../bin/get-kbd-layout: layout.o
|
|
$(CC) -o $@ layout.o -lX11
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
rm -f *.o
|