From 70d9fd74be679281c9f2e66069cd4b1e4a0fea0a Mon Sep 17 00:00:00 2001 From: Stacy Harper Date: Wed, 25 Aug 2021 23:45:59 +0200 Subject: WIP: refactorise keyboard.c --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a498597..1348b31 100644 --- a/Makefile +++ b/Makefile @@ -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: -- cgit 1.4.1