diff options
author | Taylor Holberton <taylorcholberton@gmail.com> | 2017-01-14 09:08:58 -0800 |
---|---|---|
committer | Taylor Holberton <taylorcholberton@gmail.com> | 2017-01-14 09:08:58 -0800 |
commit | fe4a22cca1741fde0692314c2b1ae561c1267cd3 (patch) | |
tree | 6e38b50cd31358abe90b1f9a72bf7531ac2c87f9 /examples | |
parent | e123a656544110d30041ffaa88f8f32856a978d3 (diff) |
added cross compile var to examples
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
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 |