aboutsummaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile4
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