summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-02-01 20:57:37 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-02-01 20:57:37 +0000
commit811b32ed69b938cbaa2fd01db5794512c23ba3ff (patch)
tree3333c02d139e12f85ab9da835bcc738bf287e3a7 /libavcodec
parent91d742b7460ba90ad53696b2767b5250da8413dc (diff)
dependencies are only build with make depend
Originally committed as revision 1531 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 368d967c91..071609325e 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -113,14 +113,14 @@ all: $(LIB) $(SLIB)
tests: apiexample cpuid_test $(TESTS)
-$(LIB): .depend $(OBJS)
+$(LIB): $(OBJS)
rm -f $@
$(AR) rc $@ $(OBJS)
ifneq ($(CONFIG_OS2),yes)
$(RANLIB) $@
endif
-$(SLIB): .depend $(OBJS)
+$(SLIB): $(OBJS)
$(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS)
dsputil.o: dsputil.c dsputil.h
@@ -142,13 +142,11 @@ alpha/motion_est_alpha.o: alpha/motion_est_alpha.c
$(CC) $(CFLAGS) -mcpu=$$newcpu -c -o $@ $<
endif
-.depend: $(SRCS)
+depend: $(SRCS)
$(CC) -MM $(CFLAGS) $^ 1>.depend
dep: depend
-depend: .depend
-
clean:
rm -f *.o *.d *~ .depend $(LIB) $(SLIB) *.so i386/*.o i386/*~ \
armv4l/*.o armv4l/*~ \