Revision 811b32ed

View differences:

Makefile
61 61
	$(MAKE) -C libavcodec all
62 62
	$(MAKE) -C libavformat all
63 63

  
64
ffmpeg_g$(EXE): .depend ffmpeg.o $(DEP_LIBS)
64
ffmpeg_g$(EXE): ffmpeg.o $(DEP_LIBS)
65 65
	$(CC) $(LDFLAGS) -o $@ ffmpeg.o -L./libavcodec -L./libavformat \
66 66
              -lavformat -lavcodec $(EXTRALIBS)
67 67

  
......
102 102
dep:	depend
103 103

  
104 104
depend: .depend
105
	make -C libavcodec depend
106
	make -C libavformat depend
107
ifeq ($(BUILD_VHOOK),yes)
108
	make -C vhook depend
109
endif
105 110

  
106 111
.depend: $(SRCS)
107 112
	$(CC) -MM $(CFLAGS) $^ 1>.depend
libavcodec/Makefile
113 113

  
114 114
tests: apiexample cpuid_test $(TESTS)
115 115

  
116
$(LIB): .depend $(OBJS)
116
$(LIB): $(OBJS)
117 117
	rm -f $@
118 118
	$(AR) rc $@ $(OBJS)
119 119
ifneq ($(CONFIG_OS2),yes)
120 120
	$(RANLIB) $@
121 121
endif
122 122

  
123
$(SLIB): .depend $(OBJS)
123
$(SLIB): $(OBJS)
124 124
	$(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS)
125 125

  
126 126
dsputil.o: dsputil.c dsputil.h
......
142 142
	$(CC) $(CFLAGS) -mcpu=$$newcpu -c -o $@ $<
143 143
endif
144 144

  
145
.depend: $(SRCS)
145
depend: $(SRCS)
146 146
	$(CC) -MM $(CFLAGS) $^ 1>.depend
147 147

  
148 148
dep:	depend
149 149

  
150
depend: .depend
151

  
152 150
clean: 
153 151
	rm -f *.o *.d *~ .depend $(LIB) $(SLIB) *.so i386/*.o i386/*~ \
154 152
	   armv4l/*.o armv4l/*~ \

Also available in: Unified diff