Updated GNU make Makefile for cross compile by changing CC=gcc to CC:=gcc.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#Makefile to build BACnet Application for GCC compiler
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
|
||||
TARGET = bacdcc
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#Makefile to build BACnet Application for the Linux Port
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
|
||||
TARGET = bacepics
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#Makefile to build BACnet Application for the Linux Port
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
|
||||
TARGET = baciamr
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#Makefile to build BACnet Application for the Linux Port
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
|
||||
TARGET = bacinitr
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#Makefile to build BACnet Application for the Linux Port
|
||||
|
||||
# Compiler to use
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
# Executable file name
|
||||
TARGET = mstpcap
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#Makefile to build BACnet Application for the Linux Port
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
|
||||
TARGET = bacarf
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#Makefile to build BACnet Application using GCC compiler
|
||||
# Compiler to use
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
# Executable file name
|
||||
TARGET = bacrp
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#Makefile to build BACnet Application for the Linux Port
|
||||
# Compiler to use
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
# Executable file name
|
||||
TARGET = bacrpm
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#Makefile to build BACnet Application for the Linux Port
|
||||
|
||||
# Compiler to use
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
# Executable file name
|
||||
TARGET = bacrd
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#Makefile to build BACnet Application for the Linux Port
|
||||
|
||||
# Compiler to use
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
# Executable file name
|
||||
TARGET = bacserv
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#Makefile to build BACnet Application for the Linux Port
|
||||
|
||||
# Compiler to use
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
# Executable file name
|
||||
TARGET = bacts
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#Makefile to build BACnet Application for the Linux Port
|
||||
|
||||
# Compiler to use
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
# Executable file name
|
||||
TARGET = bacucov
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#Makefile to build BACnet Application for the Linux Port
|
||||
|
||||
# Compiler to use
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
# Executable file name
|
||||
TARGET = bacwh
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#Makefile to build BACnet Application for the Linux Port
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
|
||||
TARGET = bacwi
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#Makefile to build BACnet Application for the Linux Port
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
|
||||
TARGET = bacwir
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#Makefile to build BACnet Application for the Linux Port
|
||||
|
||||
# Compiler to use
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
# Executable file name
|
||||
TARGET = bacawf
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#Makefile to build BACnet Application for the Linux Port
|
||||
|
||||
# Compiler to use
|
||||
CC = gcc
|
||||
CC := gcc
|
||||
# Executable file name
|
||||
TARGET = bacwp
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#Makefile to build BACnet Library with GCC
|
||||
|
||||
# tools
|
||||
# ('?=' sets them to gcc and ar unless they are already defined for
|
||||
# (':=' sets them to gcc and ar unless they are already defined for
|
||||
# a board-specific cross-compiler and archiver)
|
||||
CC ?= gcc
|
||||
AR ?= ar
|
||||
CC := gcc
|
||||
AR := ar
|
||||
|
||||
# target
|
||||
TARGET = bacnet
|
||||
|
||||
Reference in New Issue
Block a user