diff options
author | John Hawthorn <john@hawthorn.email> | 2020-07-06 18:30:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 18:30:19 -0700 |
commit | 43caa3daa912844e342fc520b4e60eb48e75c3a7 (patch) | |
tree | 00b78556418712ebb0e7116b2f33130af57bcc08 | |
parent | 3d1047ec8c8e82114e2628faf89aae6d0c0c1642 (diff) | |
parent | f0618935f2520000559bcfd8e72dbb9f316f3451 (diff) |
Merge pull request #134 from theosotr/fix
Add missing Make dependencies
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 6 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,6 @@ fzy fzytest *.o +*.d config.h test/acceptance/vendor/bundle @@ -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) |