aboutsummaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'malloc')
-rw-r--r--malloc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index 07acdcf0f7..25422d22c5 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -48,7 +48,7 @@ libmemusage-routines = memusage
libmemusage-inhibit-o = $(filter-out .os,$(object-suffixes))
# These should be removed by `make clean'.
-extra-objs = mcheck-init.o libmcheck.a
+extra-objs = mcheck-init.o libmcheck.a memusagestat.o
# Include the cleanup handler.
aux := set-freeres
@@ -72,6 +72,7 @@ endif
# If the gd library is available we build the `memusagestat' program.
ifneq ($(LIBGD),no)
install-bin += memusagestat memusage
+generated += memusagestat memusage
endif
# Another goal which can be used to override the configure decision.