Mercurial > libavcodec.hg
diff Makefile @ 1046:a717c451cf1b libavcodec
dependencies are only build with make depend
author | bellard |
---|---|
date | Sat, 01 Feb 2003 20:57:37 +0000 |
parents | a78f6f72d54e |
children | f874e2122d45 |
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/*~ \