From c57224ddec8a30bac7379fd13e2d45beb43050d8 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Tue, 29 Apr 2008 05:39:13 +0300 Subject: Makefile: Fix RECURSIVE_RULE with nested subdirectories The rule produces dependencies for .a files in subdirectories. After moving FFmpeg subdirectories under ffmpeg/ "$(part)/$(part).a:" gave results like "ffmpeg/libavutil/ffmpeg/libavutil.a:". Fix it to produce "ffmpeg/libavutil/libavutil.a". --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7a9f720c74..e7213bdb89 100644 --- a/Makefile +++ b/Makefile @@ -689,7 +689,7 @@ dep depend: $(DEPS) for part in $(PARTS); do $(MAKE) -C $$part depend; done define RECURSIVE_RULE -$(part)/$(part).a: +$(part)/$(notdir $(part)).a: $(MAKE) -C $(part) endef -- cgit v1.2.3