From fe4a22cca1741fde0692314c2b1ae561c1267cd3 Mon Sep 17 00:00:00 2001 From: Taylor Holberton Date: Sat, 14 Jan 2017 09:08:58 -0800 Subject: added cross compile var to examples --- examples/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/Makefile b/examples/Makefile index 1587e3a..a328a54 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,4 +1,6 @@ -CC = gcc +CROSS_COMPILE ?= + +CC = $(CROSS_COMPILE)gcc CFLAGS = -Wall -Wextra -Werror -Wfatal-errors -I ../include VPATH = ../src -- cgit v1.2.3