Commit bb35dfd3 authored by mru's avatar mru

simplify vhook/*.o rule


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12682 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7267b4a2
...@@ -49,9 +49,6 @@ $(PROGS): %$(EXESUF): %_g$(EXESUF) ...@@ -49,9 +49,6 @@ $(PROGS): %$(EXESUF): %_g$(EXESUF)
cp -p $< $@ cp -p $< $@
$(STRIP) $@ $(STRIP) $@
vhook/%.o: vhook/%.c
$(CC) $(VHOOKCFLAGS) -c -o $@ $<
.depend: version.h $(PROGS_SRCS) .depend: version.h $(PROGS_SRCS)
# bandaid to disable triggering shared library installation routines # bandaid to disable triggering shared library installation routines
...@@ -79,6 +76,8 @@ LIBS_drawtext$(SLIBSUF) = `freetype-config --libs` ...@@ -79,6 +76,8 @@ LIBS_drawtext$(SLIBSUF) = `freetype-config --libs`
VHOOKCFLAGS += $(VHOOKCFLAGS-yes) VHOOKCFLAGS += $(VHOOKCFLAGS-yes)
vhook/%.o: CFLAGS:=$(VHOOKCFLAGS)
LDFLAGS-$(CONFIG_SWSCALE) += -L$(BUILD_ROOT)/libswscale LDFLAGS-$(CONFIG_SWSCALE) += -L$(BUILD_ROOT)/libswscale
LDFLAGS-$(CONFIG_AVFILTER) += -L$(BUILD_ROOT)/libavfilter 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) LDFLAGS := $(LDFLAGS-yes) -L$(BUILD_ROOT)/libavdevice -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil -g $(LDFLAGS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment