diff options
author | Thodoris Sotiropoulos <theosotr@aueb.gr> | 2020-01-05 00:50:06 +0200 |
---|---|---|
committer | Thodoris Sotiropoulos <theosotr@aueb.gr> | 2020-01-05 00:58:21 +0200 |
commit | f0618935f2520000559bcfd8e72dbb9f316f3451 (patch) | |
tree | ed81fefeb149883d41a4cf7139a359043ac2b229 | |
parent | 28195b3a709995354b6c33cec9bb7c9f81532eb6 (diff) |
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) |