From da278b3184f5abf4bea6f547c691586b239b4c41 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 18 Oct 2009 18:44:51 +0000 Subject: Merge rules for building mencoder and mplayer. Just the dependencies are different, so specify them separately. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29779 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a7fad88629..a8e7e7f0ba 100644 --- a/Makefile +++ b/Makefile @@ -835,10 +835,11 @@ $(FFMPEGLIBS): $(FFMPEGFILES) config.h touch $@ mencoder$(EXESUF): $(MENCODER_DEPS) - $(CC) -o $@ $^ $(COMMON_LDFLAGS) $(EXTRALIBS_MENCODER) - +mencoder$(EXESUF): COMMON_LDFLAGS += $(EXTRALIBS_MENCODER) mplayer$(EXESUF): $(MPLAYER_DEPS) - $(CC) -o $@ $^ $(COMMON_LDFLAGS) $(EXTRALIBS_MPLAYER) +mplayer$(EXESUF): COMMON_LDFLAGS += $(EXTRALIBS_MPLAYER) +mencoder$(EXESUF) mplayer$(EXESUF): + $(CC) -o $@ $^ $(COMMON_LDFLAGS) codec-cfg$(EXESUF): codec-cfg.c help_mp.h $(HOST_CC) -O -DCODECS2HTML -I. -o $@ $< -- cgit v1.2.3