changeset 1046:a717c451cf1b libavcodec

dependencies are only build with make depend
author bellard
date Sat, 01 Feb 2003 20:57:37 +0000
parents c8b438ecf8f4
children 3f316a471019
files Makefile
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Feb 01 00:18:50 2003 +0000
+++ b/Makefile	Sat Feb 01 20:57:37 2003 +0000
@@ -113,14 +113,14 @@
 
 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 @@
 	$(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/*~ \