[FFmpeg-cvslog] r19486 - trunk/Makefile

mru subversion
Wed Jul 22 18:14:59 CEST 2009


Author: mru
Date: Wed Jul 22 18:14:59 2009
New Revision: 19486

Log:
Fix building of tools/*

Fixes issue 1282

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Wed Jul 22 18:05:24 2009	(r19485)
+++ trunk/Makefile	Wed Jul 22 18:14:59 2009	(r19486)
@@ -67,8 +67,11 @@ ffserver_g$(EXESUF): FF_LDFLAGS += $(FFS
 %_g$(EXESUF): %.o cmdutils.o $(FF_DEP_LIBS)
 	$(LD) $(FF_LDFLAGS) -o $@ $< cmdutils.o $(FF_EXTRALIBS)
 
-tools/%$(EXESUF): tools/%.c
-	$(LD) $(CFLAGS) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
+tools/%$(EXESUF): tools/%.o
+	$(LD) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
+
+tools/%.o: tools.%.c
+	$(CC) $(CPPFLAGS) $(CFLAGS) $(CC_O) $<
 
 ffplay.o ffplay.d: CFLAGS += $(SDL_CFLAGS)
 



More information about the ffmpeg-cvslog mailing list