diff options
| author | Zach DeCook <zachdecook@librem.one> | 2022-01-21 17:41:20 -0500 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2022-01-21 17:41:20 -0500 |
| commit | d169f66b57b8567ec06ada3b79d4163d48603d02 (patch) | |
| tree | 8b3cb16a5047836912d3d4bfac76c18fb668c8f5 /Makefile | |
| parent | 6e16e55851b472513b3869e8af757c7e4fbc131f (diff) | |
| download | suggpicker-d169f66b57b8567ec06ada3b79d4163d48603d02.tar.gz | |
layout: Remove layout file
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile index be21e10..85e8cf3 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ include config.mk -NAME=wvkbd -BIN=${NAME}-${LAYOUT} +NAME=suggpicker +BIN=${NAME} SRC=. PKGS = wayland-client xkbcommon pangocairo @@ -9,7 +9,7 @@ PKGS = wayland-client xkbcommon pangocairo WVKBD_SOURCES += $(wildcard $(SRC)/*.c) WVKBD_HEADERS += $(wildcard $(SRC)/*.h) -CFLAGS += -std=gnu99 -Wall -g -DWITH_WAYLAND_SHM -DLAYOUT=\"layout.${LAYOUT}.h\" +CFLAGS += -std=gnu99 -Wall -g -DWITH_WAYLAND_SHM CFLAGS += $(shell pkg-config --cflags $(PKGS)) LDFLAGS =$(shell pkg-config --libs $(PKGS)) -lm -lutil -lrt @@ -31,8 +31,8 @@ proto/%-client-protocol.h: proto/%.xml $(OBJECTS): $(HDRS) $(WVKBD_HEADERS) -wvkbd-${LAYOUT}: config.h $(OBJECTS) layout.${LAYOUT}.h - $(CC) -o wvkbd-${LAYOUT} $(OBJECTS) $(LDFLAGS) +${BIN}: config.h $(OBJECTS) + $(CC) -o ${BIN} $(OBJECTS) $(LDFLAGS) clean: rm -f $(OBJECTS) $(HDRS) $(WAYLAND_SRC) ${BIN} @@ -42,5 +42,5 @@ format: install: all mkdir -p ${DESTDIR}${PREFIX}/bin - cp -f ${NAME}-${LAYOUT} ${DESTDIR}${PREFIX}/bin - chmod 755 ${DESTDIR}${PREFIX}/bin/${NAME}-${LAYOUT} + cp -f ${BIN} ${DESTDIR}${PREFIX}/bin + chmod 755 ${DESTDIR}${PREFIX}/bin/${BIN} |
