From d2ce4fc4dc19c02962b9f5b2d49c02848e11213e Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Sun, 26 Sep 1999 06:31:28 +0000 Subject: [PATCH] Added in -MD --- tools/leaky/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/leaky/Makefile b/tools/leaky/Makefile index 792d66747982..9295f3cdb829 100644 --- a/tools/leaky/Makefile +++ b/tools/leaky/Makefile @@ -14,7 +14,7 @@ CXX = c++ OPTIMIZER = -g -CXXFLAGS = $(OPTIMIZER) -Wall +CXXFLAGS = $(OPTIMIZER) -Wall -Wp,-MD,.deps-$< CXXF = $(CXX) $(CXXFLAGS) MKSHLIB = $(CXX) -shared @@ -46,7 +46,7 @@ TARGETS = leaky $(LIBMALLOC) TestLeaky TestPreload $(LIBPRELOAD) ShowLibs default all: $(TARGETS) clean: - rm -f core malloc-log malloc-map *.o + rm -f core malloc-log malloc-map *.o .deps* clobber: clean rm -f $(TARGETS) @@ -72,3 +72,5 @@ $(LIBPRELOAD): LibPreload.o ShowLibs: ShowLibs.cpp $(CXXF) -o $@ ShowLibs.cpp + +-include .deps-*