summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-26 01:50:25 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-26 02:06:41 +0100
commit325c918fa3d6906bc8f88cd9a5ccb19f9dfb42bb (patch)
tree26239ccec4e723daa8842117bf23ceed70fad68a /Makefile
parent6d34aa245df8e345ee73b6be3a4d24526e766ad5 (diff)
downloadffmpeg-streaming-325c918fa3d6906bc8f88cd9a5ccb19f9dfb42bb.zip
ffmpeg-streaming-325c918fa3d6906bc8f88cd9a5ccb19f9dfb42bb.tar.gz
Makefile: Fix building progs out of progs_g
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f169ce9..06fc47d 100644
--- a/Makefile
+++ b/Makefile
@@ -55,10 +55,6 @@ FF_DEP_LIBS := $(DEP_LIBS)
all: $(AVPROGS)
-$(AVPROGS): %$(EXESUF): %_g$(EXESUF)
- $(CP) $< $@
- $(STRIP) $@
-
$(TOOLS): %$(EXESUF): %.o $(EXEOBJS)
$(LD) $(LDFLAGS) $(LD_O) $^ $(ELIBS)
@@ -106,6 +102,10 @@ endef
$(foreach P,$(PROGS),$(eval $(call DOPROG,$(P))))
+$(PROGS:%=%$(PROGSSUF)$(EXESUF)): %$(PROGSSUF)$(EXESUF): %$(PROGSSUF)_g$(EXESUF)
+ $(CP) $< $@
+ $(STRIP) $@
+
%$(PROGSSUF)_g$(EXESUF): %.o $(FF_DEP_LIBS)
$(LD) $(LDFLAGS) $(LD_O) $(OBJS-$*) $(FF_EXTRALIBS)
OpenPOWER on IntegriCloud