mirror of
https://github.com/jjsullivan5196/wvkbd.git
synced 2025-08-29 15:22:07 +02:00
Support a layout-specific config.h.
* Rename config.def.h to config.mobintl.h. * config.mobintl.h: * Rename the macro config_def_h_INCLUDED to config_h_INCLUDED. * Remove a tailing space as a refactoring. * Makefile: Add config.h to the clean task. Signed-off-by: Jun Aruga <jun.aruga@gmail.com>
This commit is contained in:
committed by
Maarten van Gompel
parent
b0fd6777fc
commit
49975e78ee
4
Makefile
4
Makefile
@@ -29,7 +29,7 @@ OBJECTS = $(SOURCES:.c=.o)
|
||||
all: ${BIN} ${DOCS}
|
||||
|
||||
config.h:
|
||||
cp config.def.h config.h
|
||||
cp config.${LAYOUT}.h config.h
|
||||
|
||||
proto/%-client-protocol.c: proto/%.xml
|
||||
wayland-scanner code < $? > $@
|
||||
@@ -43,7 +43,7 @@ wvkbd-${LAYOUT}: config.h $(OBJECTS) layout.${LAYOUT}.h
|
||||
$(CC) -o wvkbd-${LAYOUT} $(OBJECTS) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f $(OBJECTS) $(HDRS) $(WAYLAND_SRC) ${BIN} ${DOCS}
|
||||
rm -f $(OBJECTS) config.h $(HDRS) $(WAYLAND_SRC) ${BIN} ${DOCS}
|
||||
|
||||
format:
|
||||
clang-format -i $(WVKBD_SOURCES) $(WVKBD_HEADERS)
|
||||
|
Reference in New Issue
Block a user