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) $<