[FFmpeg-cvslog] r12682 - trunk/Makefile
mru
subversion
Fri Apr 4 00:47:01 CEST 2008
Author: mru
Date: Fri Apr 4 00:47:01 2008
New Revision: 12682
Log:
simplify vhook/*.o rule
Modified:
trunk/Makefile
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Fri Apr 4 00:47:01 2008
@@ -49,9 +49,6 @@ $(PROGS): %$(EXESUF): %_g$(EXESUF)
cp -p $< $@
$(STRIP) $@
-vhook/%.o: vhook/%.c
- $(CC) $(VHOOKCFLAGS) -c -o $@ $<
-
.depend: version.h $(PROGS_SRCS)
# bandaid to disable triggering shared library installation routines
@@ -79,6 +76,8 @@ LIBS_drawtext$(SLIBSUF) = `freety
VHOOKCFLAGS += $(VHOOKCFLAGS-yes)
+vhook/%.o: CFLAGS:=$(VHOOKCFLAGS)
+
LDFLAGS-$(CONFIG_SWSCALE) += -L$(BUILD_ROOT)/libswscale
LDFLAGS-$(CONFIG_AVFILTER) += -L$(BUILD_ROOT)/libavfilter
LDFLAGS := $(LDFLAGS-yes) -L$(BUILD_ROOT)/libavdevice -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil -g $(LDFLAGS)
More information about the ffmpeg-cvslog
mailing list