[ion] Clean windows flag

This commit is contained in:
Émilie Feral
2020-09-18 17:18:04 +02:00
committed by EmilieNumworks
parent 8976ebfc41
commit 308b321ead
2 changed files with 6 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ $(eval $(call rule_for, \
$(eval $(call rule_for, \
WINDRES, %.o, %.rc, \
$$(WINDRES) $$< -Ioutput/release/simulator/windows -O coff -o $$@, \
$$(WINDRES) $$(WRFLAGS) $$< -O coff -o $$@, \
global \
))

View File

@@ -16,11 +16,14 @@ ion_src += ion/src/simulator/shared/dummy/telemetry_init.cpp
ion_src += ion/src/shared/telemetry_console.cpp
endif
LDFLAGS += -lgdiplus
# RC file dependencies
$(call object_for,ion/src/simulator/windows/resources.rc): WRFLAGS += -I $(BUILD_DIR)
# The header is refered to as <ion/src/simulator/windows/resources.h> so make sure it's findable this way
# The header of images is refered to as <ion/src/simulator/windows/resources.h> so make sure it's findable this way
SFLAGS += -I$(BUILD_DIR)
LDFLAGS += -lgdiplus
$(eval $(call rule_for, \
WINDOWS_ASSETS, \
ion/src/simulator/windows/resources.h, \