Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2013-12-07 06:45:05 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-12-07 22:10:27 +0400
commite2f800f8b71267a8f5b8d5430f61a150f0f39471 (patch)
tree1eefb609a05d9bbe25882bfb0cdc3ebca2b98dd8 /common.mak
parentd042c8251de5e1e446f428192f7d993214e52943 (diff)
windres: Track dependencies
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.mak b/common.mak
index 3a59953147..d4d5fcb8ac 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))