WIP: refactorise keyboard.c

This commit is contained in:
Stacy Harper
2021-08-25 23:45:59 +02:00
committed by John Sullivan
parent 5fb98bd005
commit b5ec768822
7 changed files with 408 additions and 386 deletions

View File

@@ -23,6 +23,9 @@ OBJECTS = $(SOURCES:.c=.o)
all: ${BIN}
config.h: config.def.h
cp config.def.h config.h
proto/%-client-protocol.c: proto/%.xml
wayland-scanner code < $? > $@
@@ -31,7 +34,7 @@ proto/%-client-protocol.h: proto/%.xml
$(OBJECTS): $(HDRS) $(WVKBD_HEADERS)
wvkbd-${LAYOUT}: $(OBJECTS) layout.${LAYOUT}.h
wvkbd-${LAYOUT}: config.h $(OBJECTS) layout.${LAYOUT}.h
$(CC) -o wvkbd-${LAYOUT} $(OBJECTS) $(LDFLAGS)
clean: