aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-06-19 23:26:46 +0000
committerDiego Biurrun <diego@biurrun.de>2006-06-19 23:26:46 +0000
commit0cfd96cc1f7f355d8afce7cb088a08f6b47e3426 (patch)
tree0f353cdf6d4a649025eacafa99aa6d3b8f109f9a
parentd8bee8dd1cd3349884255beaacc89c58e3cdd8fd (diff)
downloadffmpeg-0cfd96cc1f7f355d8afce7cb088a08f6b47e3426.tar.gz
Avoid binary stripping rule code duplication.
Originally committed as revision 5500 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index da1b3ef597..a3b94a59b6 100644
--- a/Makefile
+++ b/Makefile
@@ -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) $@