diff --git a/bacnet-stack/lib/Makefile b/bacnet-stack/lib/Makefile index 7b428e9e..eadd7a9a 100644 --- a/bacnet-stack/lib/Makefile +++ b/bacnet-stack/lib/Makefile @@ -1,8 +1,10 @@ #Makefile to build BACnet Library with GCC -# tools -CC = gcc -AR = ar +# tools +# ('?=' sets them to gcc and ar unless they are already defined for +# a board-specific cross-compiler and archiver) +CC ?= gcc +AR ?= ar # target TARGET = bacnet