From 458fd54805d2ce0bc485c5b640d9fd27314477f1 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Thu, 24 Dec 2020 00:25:59 -0600 Subject: [PATCH] Fix `install: cannot stat 'xgetrootname': No such file or directory` --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 73361cc..edeb833 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -6,7 +6,7 @@ CFLAGS := -O3 -Wall -Wextra X11CFLAGS := $(shell pkg-config --cflags x11) X11LIBS := $(shell pkg-config --libs x11) -all: dwmblocks sigdwmblocks +all: dwmblocks sigdwmblocks xgetrootname dwmblocks: dwmblocks.c blocks.h ${CC} -o $@ -Wno-missing-field-initializers -Wno-unused-parameter ${CFLAGS} ${X11CFLAGS} $< ${X11LIBS} @@ -18,7 +18,7 @@ xgetrootname: xgetrootname.c ${CC} -o $@ ${CFLAGS} ${X11CFLAGS} $< ${X11LIBS} clean: - rm -f dwmblocks sigdwmblocks + rm -f dwmblocks sigdwmblocks xgetrootname install: all mkdir -p ${DESTDIR}${PREFIX}/bin