From 883d1312a3fb8088bdf078ffd053413beb0af305 Mon Sep 17 00:00:00 2001 From: Quentin Date: Wed, 8 Apr 2020 12:37:02 +0200 Subject: [PATCH] [Fix] Fix compilation crash --- escher/Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/escher/Makefile b/escher/Makefile index 9a5957cdc..343a49eaf 100644 --- a/escher/Makefile +++ b/escher/Makefile @@ -1,5 +1,13 @@ SFLAGS += -Iescher/include +$(eval $(call rule_for, \ + THEME, \ + escher/palette.h, \ + $(addprefix themes/themes/, $(addsuffix .json, $(OMEGA_THEME))), \ + $$(PYTHON) themes/themes_manager.py $(OMEGA_THEME) $$@, \ + global \ +)) + escher_src += $(addprefix escher/src/,\ alternate_empty_view_controller.cpp \ app.cpp \ @@ -98,14 +106,6 @@ $(eval $(call rule_for, \ global \ )) -$(eval $(call rule_for, \ - THEME, \ - escher/palette.h, \ - $(addprefix themes/themes/, $(addsuffix .json, $(OMEGA_THEME))), \ - $$(PYTHON) themes/themes_manager.py $(OMEGA_THEME) $$@, \ - global \ -)) - INLINER := $(BUILD_DIR)/escher/image/inliner .PRECIOUS: $(BUILD_DIR)/%.h $(BUILD_DIR)/%.cpp