diff Makefile @ 33643:311468e8af65

build: Compile libav* libraries from the top level of the ffmpeg subdirectory. Compiling from subdirectories is not guaranteed to work correctly.
author diego
date Sun, 26 Jun 2011 14:16:40 +0000
parents 9793c290a04b
children b48200e2a788
line wrap: on
line diff
--- a/Makefile	Sun Jun 26 14:16:38 2011 +0000
+++ b/Makefile	Sun Jun 26 14:16:40 2011 +0000
@@ -807,7 +807,7 @@
 	$(WINDRES) -I. $< $@
 
 $(FFMPEGLIBS): $(FFMPEGFILES) config.h
-	$(MAKE) -C $(@D)
+	$(MAKE) -C ffmpeg $(@:ffmpeg/%=%)
 	touch $@
 
 mencoder$(EXESUF): $(MENCODER_DEPS)