mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-12 10:29:39 +00:00
Avoid binary stripping rule code duplication.
Originally committed as revision 5500 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d8bee8dd1c
commit
0cfd96cc1f
6
Makefile
6
Makefile
@ -80,17 +80,13 @@ endif
|
|||||||
ffmpeg_g$(EXESUF): ffmpeg.o cmdutils.o .libs
|
ffmpeg_g$(EXESUF): ffmpeg.o cmdutils.o .libs
|
||||||
$(CC) $(FFLIBDIRS) $(LDFLAGS) -o $@ ffmpeg.o cmdutils.o $(FFLIBS) $(EXTRALIBS)
|
$(CC) $(FFLIBDIRS) $(LDFLAGS) -o $@ ffmpeg.o cmdutils.o $(FFLIBS) $(EXTRALIBS)
|
||||||
|
|
||||||
ffmpeg$(EXESUF): ffmpeg_g$(EXESUF)
|
|
||||||
cp -p $< $@
|
|
||||||
$(STRIP) $@
|
|
||||||
|
|
||||||
ffserver$(EXESUF): ffserver.o .libs
|
ffserver$(EXESUF): ffserver.o .libs
|
||||||
$(CC) $(FFLIBDIRS) $(LDFLAGS) $(FFSLDFLAGS) -o $@ ffserver.o $(FFLIBS) $(EXTRALIBS)
|
$(CC) $(FFLIBDIRS) $(LDFLAGS) $(FFSLDFLAGS) -o $@ ffserver.o $(FFLIBS) $(EXTRALIBS)
|
||||||
|
|
||||||
ffplay_g$(EXESUF): ffplay.o cmdutils.o .libs
|
ffplay_g$(EXESUF): ffplay.o cmdutils.o .libs
|
||||||
$(CC) $(FFLIBDIRS) $(LDFLAGS) -o $@ ffplay.o cmdutils.o $(FFLIBS) $(EXTRALIBS) $(SDL_LIBS)
|
$(CC) $(FFLIBDIRS) $(LDFLAGS) -o $@ ffplay.o cmdutils.o $(FFLIBS) $(EXTRALIBS) $(SDL_LIBS)
|
||||||
|
|
||||||
ffplay$(EXESUF): ffplay_g$(EXESUF)
|
%$(EXESUF): %_g$(EXESUF)
|
||||||
cp -p $< $@
|
cp -p $< $@
|
||||||
$(STRIP) $@
|
$(STRIP) $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user