[libav-commits] build: Add rule for building host-specific object files

Diego Biurrun git at libav.org
Mon Dec 2 13:31:18 CET 2013


Module: libav
Branch: master
Commit: 5a9fcc7d2524d6c0f86b2855019ee9f4cf360276

Author:    Diego Biurrun <diego at biurrun.de>
Committer: Diego Biurrun <diego at biurrun.de>
Date:      Sun Dec  1 06:01:51 2013 +0100

build: Add rule for building host-specific object files

---

 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 libav-commits mailing list