summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2003-09-19 10:01:08 +0000
committerMiles Bader <miles@lsi.nec.co.jp>2003-09-19 10:01:08 +0000
commit90d471bfdf2b13fa96b132dc5b35aa669a57480a (patch)
tree131207e9bde76a3c4a3292c302c93c14521dda53 /libc
parent47e4d5ac7855fa86c7e07291b9ee05d41b6c4fd8 (diff)
Add dependencies on header files.
Diffstat (limited to 'libc')
-rw-r--r--libc/stdlib/malloc/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/stdlib/malloc/Makefile b/libc/stdlib/malloc/Makefile
index d722d1dc3..8f214880c 100644
--- a/libc/stdlib/malloc/Makefile
+++ b/libc/stdlib/malloc/Makefile
@@ -1,7 +1,7 @@
# Makefile for uClibc
#
-# Copyright (C) 2002 NEC Corporation
-# Copyright (C) 2002 Miles Bader <miles@gnu.org>
+# Copyright (C) 2002,03 NEC Electronics Corporation
+# Copyright (C) 2002,03 Miles Bader <miles@gnu.org>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU Library General Public License as published by the Free
@@ -47,6 +47,9 @@ $(LIBC): ar-target
ar-target: $(OBJS)
$(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+malloc.o free.o realloc.o memalign.o: malloc.h
+$(COBJS): heap.h
+
# Depend on uClinux_config.h to cache changes in __UCLIBC_MALLOC_DEBUGGING__
$(COBJS): %.o : %.c ../../../include/bits/uClibc_config.h
$(CC) $(CFLAGS) -c $< -o $@