aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-10 18:31:12 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-10 18:31:12 +0000
commit3c91c8d5735fc32a0ae844fc13fd25d524acbf40 (patch)
treefd6eb87b91b87ddefca94cbc0a88084db8bda2a9
parentcfe0d9ff9245caf02dcee50214e1e234d6af6441 (diff)
Add standard depend target.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20843 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--loader/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/loader/Makefile b/loader/Makefile
index f6badac38b..32ede00f36 100644
--- a/loader/Makefile
+++ b/loader/Makefile
@@ -38,5 +38,12 @@ libloader.a: $(OBJS) stubs.s
$(AR) -r libloader.a $(OBJS) stubs.o
$(RANLIB) libloader.a
-dep:
- echo "dependency not required/supported"
+dep depend:
+ $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
+
+#
+# include dependency files if they exist
+#
+ifneq ($(wildcard .depend),)
+include .depend
+endif