From 3c14e95166da27c3a9c6a1d800edf514589372f1 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Wed, 7 Oct 2015 11:06:21 +0200 Subject: build: add source specific variable assignment --- build/top.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'build/top.mk') 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 = @ -- cgit v1.2.3