From 826b27fde2b3d58e8bbd17c741dea51c4d4abd3a Mon Sep 17 00:00:00 2001 From: Kai Krakow Date: Thu, 18 Jan 2018 22:25:32 +0100 Subject: [PATCH] Makefile: Fix some dependencies Some deps are already referenced by depends.mk, some where actually missing. Signed-off-by: Kai Krakow --- src/Makefile | 2 +- test/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 058e921..a820b6a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,7 +3,7 @@ PROGRAMS = \ ../bin/fiemap \ ../bin/fiewalk \ -all: $(PROGRAMS) depends.mk +all: $(PROGRAMS) include ../makeflags diff --git a/test/Makefile b/test/Makefile index 533c6c8..e1ea18b 100644 --- a/test/Makefile +++ b/test/Makefile @@ -17,7 +17,7 @@ include ../makeflags LIBS = -lcrucible -lpthread LDFLAGS = -L../lib -Wl,-rpath=$(shell realpath ../lib) -.depends/%.dep: %.cc +.depends/%.dep: %.cc tests.h Makefile @mkdir -p .depends $(CXX) $(CXXFLAGS) -M -MF $@ -MT $(<:.cc=.o) $<