Skip to content
Snippets Groups Projects
Commit 325c918f authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

Makefile: Fix building progs out of progs_g

parent 6d34aa24
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment