summaryrefslogtreecommitdiff
path: root/build/top.mk
diff options
context:
space:
mode:
authorNicolas Schodet2015-10-07 11:06:21 +0200
committerNicolas Schodet2019-10-07 00:44:50 +0200
commit3c14e95166da27c3a9c6a1d800edf514589372f1 (patch)
tree24a3ea6119ec26088273ea647e9a977937d1833c /build/top.mk
parent70bdcfef7a72d30951f2be1c8bb30a7ee6ded007 (diff)
build: add source specific variable assignment
Diffstat (limited to 'build/top.mk')
-rw-r--r--build/top.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/build/top.mk b/build/top.mk
index cdc04f9..0aa6698 100644
--- a/build/top.mk
+++ b/build/top.mk
@@ -16,13 +16,13 @@ include $(UCOO_BASE)/build/macros.mk
OBJDIR := obj
INCLUDES := $(INCLUDES) -I$(UCOO_BASE) -I$(BASE) -I$(OBJDIR)
-CPPFLAGS := $(DEFS) $(INCLUDES) -MP -MMD
+CPPFLAGS = $(DEFS) $(INCLUDES) -MP -MMD
OPTIMIZE ?= -Os
-CFLAGS := -g3 -Wall -W -Wundef -Wno-unused-parameter \
+CFLAGS = -g3 -Wall -W -Wundef -Wno-unused-parameter \
-fno-exceptions $(OPTIMIZE)
-CXXFLAGS := $(CFLAGS) -fno-rtti -fno-threadsafe-statics -std=gnu++11 -Wno-deprecated-declarations
-LDFLAGS :=
-LDLIBS := $(LIBS)
+CXXFLAGS = $(CFLAGS) -fno-rtti -fno-threadsafe-statics -std=gnu++11 -Wno-deprecated-declarations
+LDFLAGS =
+LDLIBS = $(LIBS)
# Quiet, unset to see executed lines.
Q = @