diff --git a/apps/plugins/puzzles/puzzles.make b/apps/plugins/puzzles/puzzles.make index 1041fde146..c855600e9d 100644 --- a/apps/plugins/puzzles/puzzles.make +++ b/apps/plugins/puzzles/puzzles.make @@ -10,29 +10,29 @@ PUZZLES_SRCDIR = $(APPSDIR)/plugins/puzzles PUZZLES_OBJDIR = $(BUILDDIR)/apps/plugins/puzzles -PUZZLES_SHARED_SRC := $(call preprocess, $(PUZZLES_SRCDIR)/SOURCES) -PUZZLES_SHARED_OBJ := $(call c2obj, $(PUZZLES_SHARED_SRC)) +PUZZLES_SHARED_SRC = $(call preprocess, $(PUZZLES_SRCDIR)/SOURCES) +PUZZLES_SHARED_OBJ = $(call c2obj, $(PUZZLES_SHARED_SRC)) -PUZZLES_GAMES_SRC := $(call preprocess, $(PUZZLES_SRCDIR)/SOURCES.games) -PUZZLES_GAMES_OBJ := $(call c2obj, $(PUZZLES_GAMES_SRC)) +PUZZLES_GAMES_SRC = $(call preprocess, $(PUZZLES_SRCDIR)/SOURCES.games) +PUZZLES_GAMES_OBJ = $(call c2obj, $(PUZZLES_GAMES_SRC)) -PUZZLES_SRC := $(PUZZLES_GAMES_SRC) $(PUZZLES_SHARED_SRC) -PUZZLES_OBJ := $(call c2obj, $(PUZZLES_SRC)) +PUZZLES_SRC = $(PUZZLES_GAMES_SRC) $(PUZZLES_SHARED_SRC) +PUZZLES_OBJ = $(call c2obj, $(PUZZLES_SRC)) -PUZZLES_ROCKS := $(addprefix $(PUZZLES_OBJDIR)/sgt-, $(notdir $(PUZZLES_GAMES_SRC:.c=.rock))) +PUZZLES_ROCKS = $(addprefix $(PUZZLES_OBJDIR)/sgt-, $(notdir $(PUZZLES_GAMES_SRC:.c=.rock))) OTHER_SRC += $(PUZZLES_SRC) ROCKS += $(PUZZLES_ROCKS) -PUZZLES_OPTIMIZE := -O2 +PUZZLES_OPTIMIZE = -O2 ifeq ($(MODELNAME), sansac200v2) -PUZZLES_OPTIMIZE := -Os # tiny plugin buffer +PUZZLES_OPTIMIZE = -Os # tiny plugin buffer endif # we suppress all warnings PUZZLESFLAGS = -I$(PUZZLES_SRCDIR)/dummy \ - $(filter-out -O%,$(PLUGINFLAGS)) $(PUZZLESOPTIMIZE) \ + $(filter-out -O%,$(PLUGINFLAGS)) $(PUZZLES_OPTIMIZE) \ -Wno-unused-parameter -Wno-sign-compare -Wno-strict-aliasing -w \ -DFOR_REAL -I$(PUZZLES_SRCDIR)/src -I$(PUZZLES_SRCDIR) -include \ $(PUZZLES_SRCDIR)/rbcompat.h