[FFmpeg-cvslog] r12455 - trunk/Makefile
diego
subversion
Sat Mar 15 20:57:09 CET 2008
Author: diego
Date: Sat Mar 15 20:57:09 2008
New Revision: 12455
Log:
Merge binary generation rules.
Modified:
trunk/Makefile
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Sat Mar 15 20:57:09 2008
@@ -81,7 +81,7 @@ endif
MAKE-yes = $(MAKE)
MAKE- = : $(MAKE)
-all: lib $(PROGS) $(ALL_TARGETS-yes)
+all: lib $(PROGS_G) $(PROGS) $(ALL_TARGETS-yes)
lib:
$(MAKE) -C libavutil all
@@ -92,14 +92,11 @@ lib:
$(MAKE-$(CONFIG_SWSCALE)) -C libswscale all
$(MAKE-$(CONFIG_AVFILTER)) -C libavfilter all
-ffmpeg_g$(EXESUF): ffmpeg.o cmdutils.o .libs
- $(CC) $(LDFLAGS) -o $@ $< cmdutils.o $(EXTRALIBS)
-
-ffserver_g$(EXESUF): ffserver.o cmdutils.o .libs
- $(CC) $(LDFLAGS) $(FFSERVERLDFLAGS) -o $@ $< cmdutils.o $(EXTRALIBS)
+ffplay_g$(EXESUF): EXTRALIBS += $(SDL_LIBS)
+ffserver_g$(EXESUF): LDFLAGS += $(FFSERVERLDFLAGS)
-ffplay_g$(EXESUF): ffplay.o cmdutils.o .libs
- $(CC) $(LDFLAGS) -o $@ $< cmdutils.o $(EXTRALIBS) $(SDL_LIBS)
+%_g$(EXESUF): %.o cmdutils.o .libs
+ $(CC) $(LDFLAGS) -o $@ $< cmdutils.o $(EXTRALIBS)
%$(EXESUF): %_g$(EXESUF)
cp -p $< $@
More information about the ffmpeg-cvslog
mailing list