[FFmpeg-cvslog] build: Add rule for building host-specific object files

Diego Biurrun git at videolan.org
Mon Dec 2 20:23:20 CET 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sun Dec  1 06:01:51 2013 +0100| [5a9fcc7d2524d6c0f86b2855019ee9f4cf360276] | committer: Diego Biurrun

build: Add rule for building host-specific object files

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

 Makefile |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 20ce686f..25c3b32 100644
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,9 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
 %.o: %.S
 	$(COMPILE_S)
 
+%_host.o: %.c
+	$(COMPILE_HOSTC)
+
 %.i: %.c
 	$(CC) $(CCFLAGS) $(CC_E) $<
 



More information about the ffmpeg-cvslog mailing list