mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[ion] Change name of variable in Makefile
This commit is contained in:
committed by
EmilieNumworks
parent
308b321ead
commit
7535abc298
@@ -26,8 +26,8 @@ ion_src += $(addprefix ion/src/simulator/shared/, \
|
||||
timing.cpp \
|
||||
)
|
||||
|
||||
assets = background.jpg horizontal_arrow.png vertical_arrow.png round.png small_squircle.png large_squircle.png
|
||||
assets_paths = $(foreach i,$(assets),ion/src/simulator/assets/$(i))
|
||||
ion_simulator_assets = background.jpg horizontal_arrow.png vertical_arrow.png round.png small_squircle.png large_squircle.png
|
||||
ion_simulator_assets_paths = $(add_prefix ion/src/simulator/assets/,$(ion_simulator_assets))
|
||||
|
||||
include ion/src/simulator/$(TARGET)/Makefile
|
||||
include ion/src/simulator/external/Makefile
|
||||
|
||||
@@ -30,8 +30,8 @@ LDFLAGS += -ljpeg
|
||||
$(eval $(call rule_for, \
|
||||
LINUX_ASSETS, \
|
||||
ion/src/simulator/linux/assets.s, \
|
||||
$(assets_paths), \
|
||||
$$(PYTHON) ion/src/simulator/linux/assets.py --files $(assets) --implementation $$@, \
|
||||
$(ion_simulator_assets_paths), \
|
||||
$$(PYTHON) ion/src/simulator/linux/assets.py --files $(ion_simulator_assets) --implementation $$@, \
|
||||
global \
|
||||
))
|
||||
|
||||
@@ -41,7 +41,7 @@ SFLAGS += -I$(BUILD_DIR)
|
||||
$(eval $(call rule_for, \
|
||||
LINUX_ASSETS, \
|
||||
ion/src/simulator/linux/images.h, \
|
||||
$(assets_paths), \
|
||||
$$(PYTHON) ion/src/simulator/linux/assets.py --files $(assets) --header $$@, \
|
||||
$(ion_simulator_assets_paths), \
|
||||
$$(PYTHON) ion/src/simulator/linux/assets.py --files $(ion_simulator_assets) --header $$@, \
|
||||
global \
|
||||
))
|
||||
|
||||
@@ -23,7 +23,7 @@ $(call simulator_app_resource,$(1)): ion/src/simulator/assets/$(1) | $$$$(@D)/.
|
||||
$(Q) cp $$^ $$@
|
||||
endef
|
||||
|
||||
$(foreach asset,$(assets),$(eval $(call rule_for_asset,$(asset))))
|
||||
$(foreach asset,$(ion_simulator_assets),$(eval $(call rule_for_asset,$(asset))))
|
||||
|
||||
# Process icons
|
||||
|
||||
|
||||
@@ -27,16 +27,16 @@ LDFLAGS += -lgdiplus
|
||||
$(eval $(call rule_for, \
|
||||
WINDOWS_ASSETS, \
|
||||
ion/src/simulator/windows/resources.h, \
|
||||
$(assets_paths), \
|
||||
$$(PYTHON) ion/src/simulator/windows/assets.py --files $$^ --header-resource-rc $$@, \
|
||||
$(ion_simulator_assets_paths), \
|
||||
$$(PYTHON) ion/src/simulator/windows/assets.py --files $(ion_simulator_assets) --header-resource-rc $$@, \
|
||||
global \
|
||||
))
|
||||
|
||||
$(eval $(call rule_for, \
|
||||
WINDOWS_ASSETS, \
|
||||
ion/src/simulator/windows/resource_mapping.h, \
|
||||
$(assets_paths), \
|
||||
$$(PYTHON) ion/src/simulator/windows/assets.py --files $$^ --header-resource-mapping $$@, \
|
||||
$(ion_simulator_assets_paths), \
|
||||
$$(PYTHON) ion/src/simulator/windows/assets.py --files $(ion_simulator_assets) --header-resource-mapping $$@, \
|
||||
global \
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user