Avoid binary stripping rule code duplication.

Originally committed as revision 5500 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2006-06-19 23:26:46 +00:00
parent d8bee8dd1c
commit 0cfd96cc1f

View File

@ -80,17 +80,13 @@ endif
ffmpeg_g$(EXESUF): ffmpeg.o cmdutils.o .libs
$(CC) $(FFLIBDIRS) $(LDFLAGS) -o $@ ffmpeg.o cmdutils.o $(FFLIBS) $(EXTRALIBS)
ffmpeg$(EXESUF): ffmpeg_g$(EXESUF)
cp -p $< $@
$(STRIP) $@
ffserver$(EXESUF): ffserver.o .libs
$(CC) $(FFLIBDIRS) $(LDFLAGS) $(FFSLDFLAGS) -o $@ ffserver.o $(FFLIBS) $(EXTRALIBS)
ffplay_g$(EXESUF): ffplay.o cmdutils.o .libs
$(CC) $(FFLIBDIRS) $(LDFLAGS) -o $@ ffplay.o cmdutils.o $(FFLIBS) $(EXTRALIBS) $(SDL_LIBS)
ffplay$(EXESUF): ffplay_g$(EXESUF)
%$(EXESUF): %_g$(EXESUF)
cp -p $< $@
$(STRIP) $@