[FFmpeg-cvslog] windres: Track dependencies

James Almer git at videolan.org
Sat Dec 7 20:38:10 CET 2013


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Dec  6 23:45:05 2013 -0300| [e2f800f8b71267a8f5b8d5430f61a150f0f39471] | committer: Michael Niedermayer

windres: Track dependencies

Signed-off-by: James Almer <jamrial at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e2f800f8b71267a8f5b8d5430f61a150f0f39471
---

 common.mak |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common.mak b/common.mak
index 3a59953..d4d5fcb 100644
--- a/common.mak
+++ b/common.mak
@@ -61,7 +61,7 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
 	$(COMPILE_HOSTC)
 
 %.o: %.rc
-	$(WINDRES) $(IFLAGS) -o $@ $<
+	$(WINDRES) $(IFLAGS) --preprocessor "$(DEPCC) -E -xc-header -DRC_INVOKED $(CC_DEPFLAGS)" -o $@ $<
 
 %.i: %.c
 	$(CC) $(CCFLAGS) $(CC_E) $<
@@ -149,4 +149,4 @@ endef
 
 $(eval $(RULES))
 
--include $(wildcard $(OBJS:.o=.d) $(HOSTOBJS:.o=.d) $(TESTOBJS:.o=.d) $(HOBJS:.o=.d))
+-include $(wildcard $(OBJS:.o=.d) $(HOSTOBJS:.o=.d) $(TESTOBJS:.o=.d) $(HOBJS:.o=.d) $(SLIBOBJS:.o=.d))



More information about the ffmpeg-cvslog mailing list