about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorStacy Harper <contact@stacyharper.net>2021-08-25 23:45:59 +0200
committerJohn Sullivan <jsullivan@csumb.edu>2021-10-19 23:12:01 -0700
commit70d9fd74be679281c9f2e66069cd4b1e4a0fea0a (patch)
tree1368b164118b9f368c898baf4cfdf6eccb457b9b /Makefile
parent8d53e1141400cecd6c65afb0e7e603514892f1ff (diff)
downloadsuggpicker-70d9fd74be679281c9f2e66069cd4b1e4a0fea0a.tar.gz
WIP: refactorise keyboard.c
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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: