fzy
terminal fuzzy finder picker
git clone https://9o.is/git/fzy.git
commit 41e313b122b0663d8a7b385859ebe9677be94688 parent 4e367cdd58de7c0e02eeae4a9e7bc6de39a29f9f Author: John Hawthorn <john@hawthorn.email> Date: Mon, 6 Jul 2020 18:30:19 -0700 Merge pull request #134 from theosotr/fix Add missing Make dependencies Diffstat:
| M | .gitignore | | | 1 | + |
| M | Makefile | | | 6 | ++++-- |
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -1,5 +1,6 @@ fzy fzytest *.o +*.d config.h test/acceptance/vendor/bundle diff --git a/Makefile b/Makefile @@ -1,7 +1,7 @@ VERSION=1.0 CPPFLAGS=-DVERSION=\"${VERSION}\" -D_GNU_SOURCE -CFLAGS+=-Wall -Wextra -g -std=c99 -O3 -pedantic -Ideps -Werror=vla +CFLAGS+=-MD -Wall -Wextra -g -std=c99 -O3 -pedantic -Ideps -Werror=vla PREFIX?=/usr/local MANDIR?=$(PREFIX)/share/man BINDIR?=$(PREFIX)/bin @@ -49,9 +49,11 @@ fmt: clang-format -i src/*.c src/*.h clean: - rm -f fzy test/fzytest src/*.o deps/*/*.o + rm -f fzy test/fzytest src/*.o src/*.d deps/*/*.o veryclean: clean rm -f config.h .PHONY: test check all clean veryclean install fmt acceptance + +-include $(OBJECTS:.o=.d)