summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-12-01 06:01:51 +0100
committerDiego Biurrun <diego@biurrun.de>2013-12-02 13:13:09 +0100
commit5a9fcc7d2524d6c0f86b2855019ee9f4cf360276 (patch)
treedead1b6fade608744df0982d00830927f3d63302 /Makefile
parentad477710244c761ad1c21246c34e0075fee12d11 (diff)
downloadffmpeg-streaming-5a9fcc7d2524d6c0f86b2855019ee9f4cf360276.zip
ffmpeg-streaming-5a9fcc7d2524d6c0f86b2855019ee9f4cf360276.tar.gz
build: Add rule for building host-specific object files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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) $<
OpenPOWER on IntegriCloud