ffmpeg, ffplay, ffserver need version.h

Originally committed as revision 6242 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2006-09-12 23:13:22 +00:00
parent 1dac8fea05
commit 496cfa3c9e

View File

@ -66,7 +66,7 @@ LDFLAGS+=-L./libswscale
EXTRALIBS+=-lswscale$(BUILDSUF) EXTRALIBS+=-lswscale$(BUILDSUF)
endif endif
all: version.h lib $(PROGS_G) $(PROGS) $(PROGTEST) $(VHOOK) $(QTFASTSTART) $(DOC) all: lib $(PROGS_G) $(PROGS) $(PROGTEST) $(VHOOK) $(QTFASTSTART) $(DOC)
lib: lib:
$(MAKE) -C libavutil all $(MAKE) -C libavutil all
@ -108,6 +108,8 @@ cws2fws$(EXESUF): cws2fws.c
ffplay.o: ffplay.c ffplay.o: ffplay.c
$(CC) $(CFLAGS) $(SDL_CFLAGS) -c -o $@ $< $(CC) $(CFLAGS) $(SDL_CFLAGS) -c -o $@ $<
ffmpeg.o ffplay.o ffserver.o: version.h
%.o: %.c %.o: %.c
$(CC) $(CFLAGS) -c -o $@ $< $(CC) $(CFLAGS) -c -o $@ $<